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

Unified Diff: chrome/browser/ui/webui/theme_source.h

Issue 291733004: Reduce the use of ui::ScaleFactor in webui/favicon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/ui/webui/theme_source.h
diff --git a/chrome/browser/ui/webui/theme_source.h b/chrome/browser/ui/webui/theme_source.h
index 6b9377323e4d183995afb3cb762d71caede521d4..ec2fe723a6bd2c489ef64ad5337d4c6f218b5860 100644
--- a/chrome/browser/ui/webui/theme_source.h
+++ b/chrome/browser/ui/webui/theme_source.h
@@ -10,7 +10,6 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "content/public/browser/url_data_source.h"
-#include "ui/base/layout.h"
class Profile;
@@ -39,10 +38,9 @@ class ThemeSource : public content::URLDataSource {
private:
// Fetch and send the theme bitmap.
- void SendThemeBitmap(
- const content::URLDataSource::GotDataCallback& callback,
- int resource_id,
- ui::ScaleFactor scale_factor);
+ void SendThemeBitmap(const content::URLDataSource::GotDataCallback& callback,
+ int resource_id,
+ float scale_factor);
// The original profile (never an OTR profile).
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698