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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 12212100: Provide shared context to Platform API in renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebaseforreals 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/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index be76411005e5db1a0c4f1106d2abf9d9217b73d9..e6aa5c02788b8f0e8633a6ee2bb89fe37e7cc024 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -344,11 +344,13 @@ void CompositorImpl::scheduleComposite() {
}
class NullContextProvider : public cc::ContextProvider {
- virtual bool InitializeOnMainThread() { return false; }
- virtual bool BindToCurrentThread() { return false; }
- virtual WebKit::WebGraphicsContext3D* Context3d() { return NULL; }
- virtual class GrContext* GrContext() { return NULL; }
- virtual void VerifyContexts() {}
+ virtual bool InitializeOnMainThread() OVERRIDE { return false; }
+ virtual bool BindToCurrentThread() OVERRIDE { return false; }
+ virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE { return NULL; }
+ virtual class GrContext* GrContext() OVERRIDE { return NULL; }
+ virtual void VerifyContexts() OVERRIDE {}
+ virtual bool DestroyedOnMainThread() OVERRIDE { return false; }
+
protected:
virtual ~NullContextProvider() {}
};

Powered by Google App Engine
This is Rietveld 408576698