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

Unified Diff: chrome/common/favicon/favicon_url_parser.h

Issue 291733004: Reduce the use of ui::ScaleFactor in webui/favicon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 6 years, 7 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 | « chrome/browser/ui/webui/theme_source.cc ('k') | chrome/common/favicon/favicon_url_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/favicon/favicon_url_parser.h
diff --git a/chrome/common/favicon/favicon_url_parser.h b/chrome/common/favicon/favicon_url_parser.h
index 91ab9f1d5a6c7db49367ac9d179a92244154b3dd..46eed9b99edf83642be7e8daadd7b7216f88434b 100644
--- a/chrome/common/favicon/favicon_url_parser.h
+++ b/chrome/common/favicon/favicon_url_parser.h
@@ -7,8 +7,6 @@
#include <string>
-#include "ui/base/layout.h"
-
namespace chrome {
struct ParsedFaviconPath {
@@ -22,7 +20,7 @@ struct ParsedFaviconPath {
int size_in_dip;
// The scale factor of the requested favicon.
- ui::ScaleFactor scale_factor;
+ float scale_factor;
// The index of the first character (relative to the path) where the the URL
// from which the favicon is being requested is located.
« no previous file with comments | « chrome/browser/ui/webui/theme_source.cc ('k') | chrome/common/favicon/favicon_url_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698