| 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 aac78b5580ba07bb645fbb9b97ca8ba26c5e02fa..c3986d9c00bade4747f13466b1b61ae148a02a2d 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "platform/graphics/gpu/DrawingBuffer.h"
|
|
|
| #include "gpu/command_buffer/client/gles2_interface_stub.h"
|
| +#include "gpu/command_buffer/common/capabilities.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/graphics/ImageBuffer.h"
|
| #include "platform/graphics/UnacceleratedImageBufferSurface.h"
|
| @@ -244,6 +245,10 @@ public:
|
| gpu::gles2::GLES2Interface* contextGL() override { return m_gl.get(); }
|
| // Not used by WebGL code.
|
| GrContext* grContext() override { return nullptr; }
|
| + gpu::Capabilities getCapabilities()
|
| + {
|
| + return gpu::Capabilities();
|
| + }
|
| void setLostContextCallback(WebClosure) {}
|
| void setErrorMessageCallback(WebFunction<void(const char*, int32_t id)>) {}
|
|
|
|
|