diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/component_flash_hint_file_linux.cc | 4 | ||||
-rw-r--r-- | chrome/common/extensions/extension_test_util.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/component_flash_hint_file_linux.cc b/chrome/common/component_flash_hint_file_linux.cc index 160c8e8..32d856e 100644 --- a/chrome/common/component_flash_hint_file_linux.cc +++ b/chrome/common/component_flash_hint_file_linux.cc @@ -156,8 +156,8 @@ bool VerifyAndReturnFlashLocation(base::FilePath* path, int error_code; std::string error_message; JSONStringValueDeserializer deserializer(json_string); - const scoped_ptr<base::Value> value( - deserializer.Deserialize(&error_code, &error_message)); + const scoped_ptr<base::Value> value = + deserializer.Deserialize(&error_code, &error_message); if (!value) { LOG(ERROR) diff --git a/chrome/common/extensions/extension_test_util.cc b/chrome/common/extensions/extension_test_util.cc index ec223f6..697be60 100644 --- a/chrome/common/extensions/extension_test_util.cc +++ b/chrome/common/extensions/extension_test_util.cc @@ -31,7 +31,7 @@ scoped_refptr<Extension> LoadManifestUnchecked(const std::string& dir, .AppendASCII(test_file); JSONFileValueDeserializer deserializer(path); - scoped_ptr<base::Value> result(deserializer.Deserialize(NULL, error)); + scoped_ptr<base::Value> result = deserializer.Deserialize(NULL, error); if (!result) return NULL; const base::DictionaryValue* dict; |