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

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

Issue 10837270: webui: Change slightly how the scale-factor gets parsed from a URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indent Created 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options2/chromeos/user_image_source.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 bb802765487975fdf3c2ce262a3ee2bcce141c36..0e05f071505dcc6983235502e1ce5f6bcdf3ad33 100644
--- a/chrome/browser/ui/webui/fileicon_source.cc
+++ b/chrome/browser/ui/webui/fileicon_source.cc
@@ -82,7 +82,7 @@ void ParseQueryParams(const std::string& query,
if (icon_size && iter->first == kIconSize)
*icon_size = SizeStringToIconSize(iter->second);
else if (scale_factor && iter->first == kScaleFactor)
- *scale_factor = web_ui_util::ParseScaleFactor(iter->second);
+ web_ui_util::ParseScaleFactor(iter->second, scale_factor);
}
}
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options2/chromeos/user_image_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698