| 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 affb56f314877de6340aa23b8afbe987ffc3be0f..860e945d06a861671e2759d37df905eda459e957 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp
|
| @@ -106,6 +106,14 @@ public:
|
| *value = 1024;
|
| }
|
|
|
| + void GetImageivCHROMIUM(GLuint imageId, GLenum pname, GLint* data) override
|
| + {
|
| + if (pname == GC3D_GPU_MEMORY_BUFFER_ID)
|
| + *data = 1;
|
| + else
|
| + *data = -1;
|
| + }
|
| +
|
| void GenMailboxCHROMIUM(GLbyte* mailbox) override
|
| {
|
| ++m_currentMailboxByte;
|
|
|