| Index: webkit/support/platform_support_win.cc
|
| diff --git a/webkit/support/platform_support_win.cc b/webkit/support/platform_support_win.cc
|
| index 0d5eee286472165727c2391531e90f13ae4f496f..9d1cb02d89e24e43fa621d428cb9815c156421a1 100644
|
| --- a/webkit/support/platform_support_win.cc
|
| +++ b/webkit/support/platform_support_win.cc
|
| @@ -73,6 +73,12 @@ string16 TestWebKitPlatformSupport::GetLocalizedString(int message_id) {
|
| }
|
|
|
| base::StringPiece TestWebKitPlatformSupport::GetDataResource(int resource_id) {
|
| + return ResourceProvider(resource_id);
|
| +}
|
| +
|
| +base::StringPiece TestWebKitPlatformSupport::GetImageResource(
|
| + int resource_id,
|
| + float scale_factor) {
|
| switch (resource_id) {
|
| case IDR_BROKENIMAGE: {
|
| // Use webkit's broken image icon (16x16)
|
| @@ -100,5 +106,6 @@ base::StringPiece TestWebKitPlatformSupport::GetDataResource(int resource_id) {
|
| }
|
| }
|
|
|
| + // TODO(flackr): Pass scale_factor to ResourceProvider.
|
| return ResourceProvider(resource_id);
|
| }
|
|
|