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

Unified Diff: webkit/support/platform_support_win.cc

Issue 6303017: Fix input-speech related failures on DRT... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « webkit/support/platform_support_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/platform_support_win.cc
===================================================================
--- webkit/support/platform_support_win.cc (revision 72559)
+++ webkit/support/platform_support_win.cc (working copy)
@@ -35,7 +35,7 @@
: base::StringPiece();
}
-base::StringPiece NetResourceProvider(int key) {
+base::StringPiece ResourceProvider(int key) {
return GetRawDataResource(::GetModuleHandle(NULL), key);
}
@@ -99,27 +99,9 @@
}
return resize_corner_data;
}
-
- case IDR_SEARCH_CANCEL:
- case IDR_SEARCH_CANCEL_PRESSED:
- case IDR_SEARCH_MAGNIFIER:
- case IDR_SEARCH_MAGNIFIER_RESULTS:
- case IDR_MEDIA_PAUSE_BUTTON:
- case IDR_MEDIA_PLAY_BUTTON:
- case IDR_MEDIA_PLAY_BUTTON_DISABLED:
- case IDR_MEDIA_SOUND_FULL_BUTTON:
- case IDR_MEDIA_SOUND_NONE_BUTTON:
- case IDR_MEDIA_SOUND_DISABLED:
- case IDR_MEDIA_SLIDER_THUMB:
- case IDR_MEDIA_VOLUME_SLIDER_THUMB:
- case IDR_DEVTOOLS_DEBUGGER_SCRIPT_JS:
- return NetResourceProvider(resource_id);
-
- default:
- break;
}
- return base::StringPiece();
+ return ResourceProvider(resource_id);
}
} // namespace webkit_glue
« no previous file with comments | « webkit/support/platform_support_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698