Index: chrome/browser/host_zoom_map_unittest.cc |
diff --git a/chrome/browser/host_zoom_map_unittest.cc b/chrome/browser/host_zoom_map_unittest.cc |
index 73f37d613dd41a62085e3f72ac3858f9b8824961..82e0e588e41f66f47e9c6d9e918095fd867c2373 100644 |
--- a/chrome/browser/host_zoom_map_unittest.cc |
+++ b/chrome/browser/host_zoom_map_unittest.cc |
@@ -64,7 +64,7 @@ TEST_F(HostZoomMapTest, LoadNoPrefs) { |
TEST_F(HostZoomMapTest, Load) { |
DictionaryValue* dict = |
prefs_->GetMutableDictionary(prefs::kPerHostZoomLevels); |
- dict->SetWithoutPathExpansion(host_, Value::CreateRealValue(kZoomLevel)); |
+ dict->SetWithoutPathExpansion(host_, Value::CreateDoubleValue(kZoomLevel)); |
scoped_refptr<HostZoomMap> map(new HostZoomMap(&profile_)); |
EXPECT_EQ(kZoomLevel, map->GetZoomLevel(url_)); |
} |
@@ -80,7 +80,7 @@ TEST_F(HostZoomMapTest, SetZoomLevel) { |
const DictionaryValue* dict = |
prefs_->GetDictionary(prefs::kPerHostZoomLevels); |
double zoom_level = 0; |
- EXPECT_TRUE(dict->GetRealWithoutPathExpansion(host_, &zoom_level)); |
+ EXPECT_TRUE(dict->GetDoubleWithoutPathExpansion(host_, &zoom_level)); |
EXPECT_EQ(kZoomLevel, zoom_level); |
SetPrefObserverExpectation(); |
@@ -109,7 +109,7 @@ TEST_F(HostZoomMapTest, ReloadOnPrefChange) { |
map->SetZoomLevel(url_, kZoomLevel); |
DictionaryValue dict; |
- dict.SetWithoutPathExpansion(host_, Value::CreateRealValue(0)); |
+ dict.SetWithoutPathExpansion(host_, Value::CreateDoubleValue(0)); |
prefs_->Set(prefs::kPerHostZoomLevels, dict); |
EXPECT_EQ(0, map->GetZoomLevel(url_)); |
} |