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

Unified Diff: chrome/browser/ui/webui/web_ui_util_unittest.cc

Issue 11301007: Load the resources for max scale factor first. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/ui/webui/web_ui_util.cc ('k') | ui/base/layout.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/web_ui_util_unittest.cc
diff --git a/chrome/browser/ui/webui/web_ui_util_unittest.cc b/chrome/browser/ui/webui/web_ui_util_unittest.cc
index 810921f070e5d5a384b667a566269e34293cfed1..63d3b449b1d4bd3df1ce03334727dd171e211f8a 100644
--- a/chrome/browser/ui/webui/web_ui_util_unittest.cc
+++ b/chrome/browser/ui/webui/web_ui_util_unittest.cc
@@ -14,7 +14,7 @@ TEST(WebUIUtilTest, ParsePathAndScale) {
web_ui_util::ParsePathAndScale(url, &path, &factor);
EXPECT_EQ("random/username@email/and/more", path);
- EXPECT_EQ(ui::SCALE_FACTOR_NONE, factor);
+ EXPECT_EQ(ui::SCALE_FACTOR_100P, factor);
GURL url2("chrome://some/random/username@email/and/more@2x");
web_ui_util::ParsePathAndScale(url2, &path, &factor);
@@ -29,5 +29,5 @@ TEST(WebUIUtilTest, ParsePathAndScale) {
GURL url4("chrome://some/random/username/and/more");
web_ui_util::ParsePathAndScale(url4, &path, &factor);
EXPECT_EQ("random/username/and/more", path);
- EXPECT_EQ(ui::SCALE_FACTOR_NONE, factor);
+ EXPECT_EQ(ui::SCALE_FACTOR_100P, factor);
}
« no previous file with comments | « chrome/browser/ui/webui/web_ui_util.cc ('k') | ui/base/layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698