summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc')
-rw-r--r--chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc b/chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc
index 068a316..f756af7 100644
--- a/chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc
+++ b/chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc
@@ -75,8 +75,8 @@ class DriveWebAppsRegistryTest : public testing::Test {
};
TEST_F(DriveWebAppsRegistryTest, LoadAndFindWebApps) {
- scoped_ptr<Value> document(
- test_util::LoadJSONFile("gdata/account_metadata.json"));
+ scoped_ptr<Value> document =
+ test_util::LoadJSONFile("gdata/account_metadata.json");
ASSERT_TRUE(document.get());
ASSERT_TRUE(document->GetType() == Value::TYPE_DICTIONARY);
DictionaryValue* entry_value;
@@ -124,7 +124,7 @@ TEST_F(DriveWebAppsRegistryTest, LoadAndFindWebApps) {
}
TEST_F(DriveWebAppsRegistryTest, LoadAndFindDriveWebApps) {
- scoped_ptr<Value> document(test_util::LoadJSONFile("drive/applist.json"));
+ scoped_ptr<Value> document = test_util::LoadJSONFile("drive/applist.json");
ASSERT_TRUE(document.get());
ASSERT_TRUE(document->GetType() == Value::TYPE_DICTIONARY);