summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_local_storage_helper_unittest.cc
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-11-18 18:32:45 +0000
committerBen Murdoch <benm@google.com>2010-11-18 18:38:07 +0000
commit513209b27ff55e2841eac0e4120199c23acce758 (patch)
treeaeba30bb08c5f47c57003544e378a377c297eee6 /chrome/browser/browsing_data_local_storage_helper_unittest.cc
parent164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff)
downloadexternal_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'chrome/browser/browsing_data_local_storage_helper_unittest.cc')
-rw-r--r--chrome/browser/browsing_data_local_storage_helper_unittest.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/browsing_data_local_storage_helper_unittest.cc b/chrome/browser/browsing_data_local_storage_helper_unittest.cc
index fe110c3..6fbb1ee 100644
--- a/chrome/browser/browsing_data_local_storage_helper_unittest.cc
+++ b/chrome/browser/browsing_data_local_storage_helper_unittest.cc
@@ -45,8 +45,8 @@ TEST(CannedBrowsingDataLocalStorageTest, AddLocalStorage) {
const FilePath::CharType file2[] =
FILE_PATH_LITERAL("http_host2_1.localstorage");
- scoped_refptr<CannedBrowsingDataLocalStorageHelper> helper =
- new CannedBrowsingDataLocalStorageHelper(&profile);
+ scoped_refptr<CannedBrowsingDataLocalStorageHelper> helper(
+ new CannedBrowsingDataLocalStorageHelper(&profile));
helper->AddLocalStorage(origin1);
helper->AddLocalStorage(origin2);
@@ -70,8 +70,8 @@ TEST(CannedBrowsingDataLocalStorageTest, Unique) {
const FilePath::CharType file[] =
FILE_PATH_LITERAL("http_host1_1.localstorage");
- scoped_refptr<CannedBrowsingDataLocalStorageHelper> helper =
- new CannedBrowsingDataLocalStorageHelper(&profile);
+ scoped_refptr<CannedBrowsingDataLocalStorageHelper> helper(
+ new CannedBrowsingDataLocalStorageHelper(&profile));
helper->AddLocalStorage(origin);
helper->AddLocalStorage(origin);
@@ -92,8 +92,8 @@ TEST(CannedBrowsingDataLocalStorageTest, Empty) {
const GURL origin("http://host1:1/");
- scoped_refptr<CannedBrowsingDataLocalStorageHelper> helper =
- new CannedBrowsingDataLocalStorageHelper(&profile);
+ scoped_refptr<CannedBrowsingDataLocalStorageHelper> helper(
+ new CannedBrowsingDataLocalStorageHelper(&profile));
ASSERT_TRUE(helper->empty());
helper->AddLocalStorage(origin);