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

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: CreateOffscreenContext() 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 5a697b22bdc5ffde5aa01c00dfc805d938d29b2b..3ddced2e70ca9ce166a73159ba34094249ca5f44 100644
--- a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
+++ b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
@@ -121,9 +121,17 @@ 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();
jamesr 2013/02/12 03:10:59 do you need to override these? Why not just use t
danakj 2013/02/12 03:15:46 I deleted it there so this is the only implementat
+ return NULL;
+}
+
+WebKit::WebGraphicsContext3D* BrowserWebKitPlatformSupportImpl::
+ sharedOffscreenGraphicsContext3D() {
+ NOTREACHED();
+ return NULL;
}
} // namespace content
« no previous file with comments | « content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h ('k') | content/common/webkitplatformsupport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698