Index: third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h |
diff --git a/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h b/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h |
index 709c1d250b5e1f0d04bced8936c8f2ec34e68edc..ba149c1a9bb4904edcb048f0c8cf5e777a7dc9b5 100644 |
--- a/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h |
+++ b/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h |
@@ -31,8 +31,6 @@ |
#ifndef WebGraphicsContext3DProvider_h |
#define WebGraphicsContext3DProvider_h |
-#include "WebCommon.h" |
- |
class GrContext; |
namespace gpu { |
@@ -42,7 +40,7 @@ class GLES2Interface; |
} |
namespace blink { |
- |
+class WebClosure; |
class WebGraphicsContext3D; |
class WebGraphicsContext3DProvider { |
@@ -52,6 +50,8 @@ public: |
virtual WebGraphicsContext3D* context3d() = 0; |
virtual gpu::gles2::GLES2Interface* contextGL() = 0; |
virtual GrContext* grContext() = 0; |
+ |
+ virtual void setLostContextCallback(WebClosure) = 0; |
}; |
} // namespace blink |