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

Unified Diff: chrome/browser/profiles/host_zoom_map_browsertest.cc

Issue 716223002: Use uint16 for port numbers, chrome/ edition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review Created 6 years, 1 month 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: chrome/browser/profiles/host_zoom_map_browsertest.cc
diff --git a/chrome/browser/profiles/host_zoom_map_browsertest.cc b/chrome/browser/profiles/host_zoom_map_browsertest.cc
index 15c32ce49e6868dd25c1c84a5bb1512a70496390..fe1d02c8219036124b931b30f7aeddaf0ec190dd 100644
--- a/chrome/browser/profiles/host_zoom_map_browsertest.cc
+++ b/chrome/browser/profiles/host_zoom_map_browsertest.cc
@@ -211,8 +211,8 @@ class HostZoomMapSanitizationBrowserTest
IN_PROC_BROWSER_TEST_F(HostZoomMapBrowserTest, ToggleDefaultZoomLevel) {
const double default_zoom_level = content::ZoomFactorToZoomLevel(1.5);
- const char kTestURLTemplate1[] = "http://host1:%d/";
- const char kTestURLTemplate2[] = "http://host2:%d/";
+ const char kTestURLTemplate1[] = "http://host1:%u/";
+ const char kTestURLTemplate2[] = "http://host2:%u/";
ZoomLevelChangeObserver observer(browser()->profile());
@@ -327,7 +327,7 @@ IN_PROC_BROWSER_TEST_F(HostZoomMapMigrationBrowserTest,
// First, we need a host at the default zoom level to respond when the
// default zoom level changes.
const double kNewDefaultZoomLevel = 1.5;
- GURL test_url = ConstructTestServerURL("http://host4:%d/");
+ GURL test_url = ConstructTestServerURL("http://host4:%u/");
ui_test_utils::NavigateToURL(browser(), test_url);
EXPECT_TRUE(content::ZoomValuesEqual(kOriginalDefaultZoomLevel,
GetZoomLevel(test_url)));

Powered by Google App Engine
This is Rietveld 408576698