Index: cc/test/test_context_provider.h |
diff --git a/cc/test/test_context_provider.h b/cc/test/test_context_provider.h |
index 749cade51d47db0e848c34e419975bacc9a361a2..fcae55cc940a77cef274674e52f7b5e0298773de 100644 |
--- a/cc/test/test_context_provider.h |
+++ b/cc/test/test_context_provider.h |
@@ -31,6 +31,7 @@ class TestContextProvider : public cc::ContextProvider { |
virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; |
virtual gpu::ContextSupport* ContextSupport() OVERRIDE; |
virtual class GrContext* GrContext() OVERRIDE; |
+ virtual bool IsContextLost() OVERRIDE; |
virtual void VerifyContexts() OVERRIDE; |
virtual bool DestroyedOnMainThread() OVERRIDE; |
virtual void SetLostContextCallback(const LostContextCallback& cb) OVERRIDE; |
@@ -68,6 +69,7 @@ class TestContextProvider : public cc::ContextProvider { |
base::Lock destroyed_lock_; |
bool destroyed_; |
+ bool context_lost_; |
LostContextCallback lost_context_callback_; |
SwapBuffersCompleteCallback swap_buffers_complete_callback_; |