| 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 ba149c1a9bb4904edcb048f0c8cf5e777a7dc9b5..3018b84f49c18f78bade1ed9777e8f150fe15586 100644
|
| --- a/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
|
| +++ b/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
|
| @@ -31,6 +31,8 @@
|
| #ifndef WebGraphicsContext3DProvider_h
|
| #define WebGraphicsContext3DProvider_h
|
|
|
| +#include "public/platform/functional/WebFunction.h"
|
| +
|
| class GrContext;
|
|
|
| namespace gpu {
|
| @@ -40,7 +42,6 @@ class GLES2Interface;
|
| }
|
|
|
| namespace blink {
|
| -class WebClosure;
|
| class WebGraphicsContext3D;
|
|
|
| class WebGraphicsContext3DProvider {
|
| @@ -52,6 +53,7 @@ public:
|
| virtual GrContext* grContext() = 0;
|
|
|
| virtual void setLostContextCallback(WebClosure) = 0;
|
| + virtual void setErrorMessageCallback(WebFunction<void(const char* msg, int32_t id)>) = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|