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

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: 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 2b3a800f83734fb6741671e13717ce2d427f7d57..73eb374e56eff773a80913ad0b897891b697598a 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -328,11 +328,12 @@ 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:
piman 2013/03/06 01:08:59 nit: blank line before 'protected:'
danakj 2013/03/06 01:41:32 Done.
virtual ~NullContextProvider() {}
};

Powered by Google App Engine
This is Rietveld 408576698