Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
index 9b6258f04bf6733c57e59b91ab7598776595f00b..a3606564e6c5724755dd3c9405d5d7756a89376f 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
@@ -40,6 +40,7 @@ |
#include "public/platform/WebExternalTextureMailbox.h" |
#include "public/platform/WebGraphicsContext3D.h" |
#include "public/platform/WebGraphicsContext3DProvider.h" |
+#include "public/platform/callback/WebClosure.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "wtf/RefPtr.h" |
@@ -274,6 +275,7 @@ public: |
gpu::gles2::GLES2Interface* contextGL() override { return m_gl.get(); } |
// Not used by WebGL code. |
GrContext* grContext() override { return nullptr; } |
+ void setLostContextCallback(WebClosure) {} |
private: |
OwnPtr<WebGraphicsContext3D> m_context; |