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

Unified Diff: chrome/browser/ui/webui/fileicon_source.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/favicon_source.cc ('k') | chrome/browser/ui/webui/web_ui_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/fileicon_source.cc
diff --git a/chrome/browser/ui/webui/fileicon_source.cc b/chrome/browser/ui/webui/fileicon_source.cc
index 0e05f071505dcc6983235502e1ce5f6bcdf3ad33..8f8a80da7e52b0aea9e6430832cd0e47a25962cf 100644
--- a/chrome/browser/ui/webui/fileicon_source.cc
+++ b/chrome/browser/ui/webui/fileicon_source.cc
@@ -75,7 +75,7 @@ void ParseQueryParams(const std::string& query,
if (icon_size)
*icon_size = IconLoader::NORMAL;
if (scale_factor)
- *scale_factor = ui::SCALE_FACTOR_NONE;
+ *scale_factor = ui::SCALE_FACTOR_100P;
base::SplitStringIntoKeyValuePairs(query, '=', '&', &parameters);
for (std::vector<KVPair>::const_iterator iter = parameters.begin();
iter != parameters.end(); ++iter) {
« no previous file with comments | « chrome/browser/ui/webui/favicon_source.cc ('k') | chrome/browser/ui/webui/web_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698