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

Unified Diff: content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc

Issue 12212100: Provide shared context to Platform API in renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android Created 7 years, 10 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/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
diff --git a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
index 5a23c8749ae87008a24d5660279ec58489be6538..62537d8ab6df4c5cb4c48bf37d883738e5a3fbb4 100644
--- a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
+++ b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
@@ -120,9 +120,22 @@ int BrowserWebKitPlatformSupportImpl::databaseDeleteFile(
return file_util::Delete(path, false) ? 0 : 1;
}
-GpuChannelHostFactory*
-BrowserWebKitPlatformSupportImpl::GetGpuChannelHostFactory() {
- return BrowserGpuChannelHostFactory::instance();
+WebKit::WebGraphicsContext3D* BrowserWebKitPlatformSupportImpl::
+ createOffscreenGraphicsContext3D(
+ const WebKit::WebGraphicsContext3D::Attributes& attributes) {
+ NOTREACHED();
+ return NULL;
jamesr 2013/03/06 00:26:10 Why bother overriding this? Isn't there a default
danakj 2013/03/06 00:27:10 There is, in the Platform class. This just adds a
+}
+
+WebKit::WebGraphicsContext3D* BrowserWebKitPlatformSupportImpl::
+ sharedOffscreenGraphicsContext3D() {
+ NOTREACHED();
+ return NULL;
+}
+
+GrContext* BrowserWebKitPlatformSupportImpl::sharedOffscreenGrContext() {
+ NOTREACHED();
+ return NULL;
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698