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

Unified Diff: webkit/support/platform_support_win.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: webkit/support/platform_support_win.cc
diff --git a/webkit/support/platform_support_win.cc b/webkit/support/platform_support_win.cc
index c385ccc298ee327f521e1a242cd4aa8792cb6bfc..249a5338f92ae5cb704f1cb5bf7598d1c7ff3c35 100644
--- a/webkit/support/platform_support_win.cc
+++ b/webkit/support/platform_support_win.cc
@@ -72,13 +72,9 @@ string16 TestWebKitPlatformSupport::GetLocalizedString(int message_id) {
return string16(localized, length);
}
-base::StringPiece TestWebKitPlatformSupport::GetDataResource(int resource_id) {
- return ResourceProvider(resource_id);
-}
-
-base::StringPiece TestWebKitPlatformSupport::GetImageResource(
+base::StringPiece TestWebKitPlatformSupport::GetDataResource(
int resource_id,
- float scale_factor) {
+ ui::ScaleFactor scale_factor) {
switch (resource_id) {
case IDR_BROKENIMAGE: {
// Use webkit's broken image icon (16x16)

Powered by Google App Engine
This is Rietveld 408576698