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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 12506003: Stop using the WebView::sharedGraphicsContext3D interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixin Created 7 years, 9 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 | « content/renderer/render_thread_impl.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 85cc17f6923e4cdeca090465f4cdcf5dfceffa1b..d9cdee096cd589fba056982b65b18923a9294d8d 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -924,7 +924,7 @@ RenderThreadImpl::CreateOffscreenContext3d() {
}
class RenderThreadImpl::RendererContextProviderCommandBuffer
- : public content::ContextProviderCommandBuffer {
+ : public ContextProviderCommandBuffer {
protected:
virtual ~RendererContextProviderCommandBuffer() {}
@@ -936,7 +936,7 @@ class RenderThreadImpl::RendererContextProviderCommandBuffer
}
};
-scoped_refptr<cc::ContextProvider>
+scoped_refptr<ContextProviderCommandBuffer>
RenderThreadImpl::OffscreenContextProviderForMainThread() {
if (!shared_contexts_main_thread_ ||
shared_contexts_main_thread_->DestroyedOnMainThread())
@@ -944,7 +944,7 @@ RenderThreadImpl::OffscreenContextProviderForMainThread() {
return shared_contexts_main_thread_;
}
-scoped_refptr<cc::ContextProvider>
+scoped_refptr<ContextProviderCommandBuffer>
RenderThreadImpl::OffscreenContextProviderForCompositorThread() {
if (!shared_contexts_compositor_thread_ ||
shared_contexts_compositor_thread_->DestroyedOnMainThread()) {
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698