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

Unified Diff: content/common/webkitplatformsupport_impl.cc

Issue 10387010: Select theme resources from ResourceBundle at requested scale factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 8 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: content/common/webkitplatformsupport_impl.cc
diff --git a/content/common/webkitplatformsupport_impl.cc b/content/common/webkitplatformsupport_impl.cc
index 6309d9c171b1112fd4328139a781f00d0c13f899..0fc1f2b775a6c9ee1f139829e1e4e2c0d9eb0ad1 100644
--- a/content/common/webkitplatformsupport_impl.cc
+++ b/content/common/webkitplatformsupport_impl.cc
@@ -24,15 +24,10 @@ string16 WebKitPlatformSupportImpl::GetLocalizedString(int message_id) {
}
base::StringPiece WebKitPlatformSupportImpl::GetDataResource(
- int resource_id) {
- return content::GetContentClient()->GetDataResource(resource_id);
-}
-
-base::StringPiece WebKitPlatformSupportImpl::GetImageResource(
int resource_id,
- float scale_factor) {
- return content::GetContentClient()->GetImageResource(resource_id,
- scale_factor);
+ ui::ScaleFactor scale_factor) {
+ return content::GetContentClient()->GetDataResource(resource_id,
+ scale_factor);
}
void WebKitPlatformSupportImpl::GetPlugins(

Powered by Google App Engine
This is Rietveld 408576698