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

Unified Diff: trunk/src/chrome/browser/android/provider/chrome_browser_provider.cc

Issue 24262008: Revert 224473 "Remove dependency on ui::ScaleFactor from ui/gfx" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 | « trunk/src/ash/wm/frame_painter.cc ('k') | trunk/src/chrome/browser/chromeos/extensions/wallpaper_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/android/provider/chrome_browser_provider.cc
===================================================================
--- trunk/src/chrome/browser/android/provider/chrome_browser_provider.cc (revision 224497)
+++ trunk/src/chrome/browser/android/provider/chrome_browser_provider.cc (working copy)
@@ -39,7 +39,6 @@
#include "sql/statement.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/layout.h"
-#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/favicon_size.h"
using base::android::AttachCurrentThread;
@@ -677,7 +676,7 @@
url,
chrome::FAVICON | chrome::TOUCH_ICON,
gfx::kFaviconSize),
- ResourceBundle::GetSharedInstance().GetMaxScaleFactor(),
+ ui::GetMaxScaleFactor(),
base::Bind(
&BookmarkIconFetchTask::OnFaviconRetrieved,
base::Unretained(this)),
« no previous file with comments | « trunk/src/ash/wm/frame_painter.cc ('k') | trunk/src/chrome/browser/chromeos/extensions/wallpaper_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698