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

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 9226036: Refactor WebGraphicsContext3DInProcess and TestWebGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: webkit/support/test_webkit_platform_support.cc
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc
index 546fa7ec4128f68520bc5c8880d57b8d9a15f512..19812faf086a33d9b2fb8142596a869ce9cbfe1a 100644
--- a/webkit/support/test_webkit_platform_support.cc
+++ b/webkit/support/test_webkit_platform_support.cc
@@ -373,20 +373,6 @@ TestWebKitPlatformSupport::sharedWorkerRepository() {
return NULL;
}
-WebKit::WebGraphicsContext3D*
-TestWebKitPlatformSupport::createGraphicsContext3D() {
- switch (webkit_support::GetGraphicsContext3DImplementation()) {
- case webkit_support::IN_PROCESS:
- return new webkit::gpu::WebGraphicsContext3DInProcessImpl(
- gfx::kNullPluginWindow, NULL);
- case webkit_support::IN_PROCESS_COMMAND_BUFFER:
- return new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl();
- default:
- CHECK(false) << "Unknown GraphicsContext3D Implementation";
- return NULL;
- }
-}
-
double TestWebKitPlatformSupport::audioHardwareSampleRate() {
return 44100.0;
}

Powered by Google App Engine
This is Rietveld 408576698