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 d3f03145b52bbceaba9799a5336a979e183ef71a..2e3bccee9a94f0e2361bbda206ef306a9264e52d 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
@@ -40,7 +40,7 @@ |
#include "public/platform/WebExternalTextureMailbox.h" |
#include "public/platform/WebGraphicsContext3D.h" |
#include "public/platform/WebGraphicsContext3DProvider.h" |
-#include "public/platform/callback/WebClosure.h" |
+#include "public/platform/functional/WebFunction.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "wtf/RefPtr.h" |
@@ -274,6 +274,7 @@ public: |
// Not used by WebGL code. |
GrContext* grContext() override { return nullptr; } |
void setLostContextCallback(WebClosure) {} |
+ void setErrorMessageCallback(WebFunction<void(const char*, int32_t id)>) {} |
private: |
OwnPtr<WebGraphicsContext3D> m_context; |