Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2761)

Unified Diff: content/renderer/v8_value_converter_impl_unittest.cc

Issue 16703020: Rewrite scoped_ptr<T>(NULL) to use the default ctor in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up insanity Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/device_orientation_dispatcher.cc ('k') | content/shell/shell_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/v8_value_converter_impl_unittest.cc
diff --git a/content/renderer/v8_value_converter_impl_unittest.cc b/content/renderer/v8_value_converter_impl_unittest.cc
index ad9232b76929c4d690edfe3573ac6b75c5188c0d..934d8e3f636589c9762bca11ee19050e42ba0e42 100644
--- a/content/renderer/v8_value_converter_impl_unittest.cc
+++ b/content/renderer/v8_value_converter_impl_unittest.cc
@@ -365,7 +365,7 @@ TEST_F(V8ValueConverterImplTest, WeirdTypes) {
TestWeirdType(converter,
v8::Undefined(),
base::Value::TYPE_NULL, // Arbitrary type, result is NULL.
- scoped_ptr<base::Value>(NULL));
+ scoped_ptr<base::Value>());
TestWeirdType(converter,
v8::Date::New(1000),
base::Value::TYPE_DICTIONARY,
« no previous file with comments | « content/renderer/device_orientation_dispatcher.cc ('k') | content/shell/shell_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698