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

Unified Diff: content/browser/host_zoom_map_impl_unittest.cc

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ref counts, improve comments. Created 6 years, 4 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
Index: content/browser/host_zoom_map_impl_unittest.cc
diff --git a/content/browser/host_zoom_map_impl_unittest.cc b/content/browser/host_zoom_map_impl_unittest.cc
index a96f15e288af6f31d9082c6476c7d8eeeda52b2f..3056615370f2ba73704dea3d78f300df378c9452 100644
--- a/content/browser/host_zoom_map_impl_unittest.cc
+++ b/content/browser/host_zoom_map_impl_unittest.cc
@@ -23,7 +23,7 @@ class HostZoomMapTest : public testing::Test {
};
TEST_F(HostZoomMapTest, GetSetZoomLevel) {
- HostZoomMapImpl host_zoom_map;
+ HostZoomMapImpl host_zoom_map(0.0);
double zoomed = 2.5;
host_zoom_map.SetZoomLevelForHost("zoomed.com", zoomed);
@@ -35,7 +35,7 @@ TEST_F(HostZoomMapTest, GetSetZoomLevel) {
}
TEST_F(HostZoomMapTest, GetSetZoomLevelWithScheme) {
- HostZoomMapImpl host_zoom_map;
+ HostZoomMapImpl host_zoom_map(0.0);
double zoomed = 2.5;
double default_zoom = 1.5;
@@ -58,7 +58,7 @@ TEST_F(HostZoomMapTest, GetSetZoomLevelWithScheme) {
}
TEST_F(HostZoomMapTest, GetAllZoomLevels) {
- HostZoomMapImpl host_zoom_map;
+ HostZoomMapImpl host_zoom_map(0.0);
double zoomed = 2.5;
host_zoom_map.SetZoomLevelForHost("zoomed.com", zoomed);

Powered by Google App Engine
This is Rietveld 408576698