| Index: cc/test/test_web_graphics_context_3d.cc
|
| diff --git a/cc/test/test_web_graphics_context_3d.cc b/cc/test/test_web_graphics_context_3d.cc
|
| index 2641c9011d75132b7298529a8d2be44f39350a22..ba29b422988508e47c6ad420c968833bbb1e188b 100644
|
| --- a/cc/test/test_web_graphics_context_3d.cc
|
| +++ b/cc/test/test_web_graphics_context_3d.cc
|
| @@ -639,6 +639,15 @@ GLuint TestWebGraphicsContext3D::createGpuMemoryBufferImageCHROMIUM(
|
| return image_id;
|
| }
|
|
|
| +void TestWebGraphicsContext3D::getImageivCHROMIUM(GLuint image_id,
|
| + GLenum param,
|
| + GLint* data) {
|
| + DCHECK_EQ(GL_GPU_MEMORY_BUFFER_ID, static_cast<int>(param));
|
| + base::AutoLock lock(namespace_->lock);
|
| + std::unordered_set<unsigned>& images = namespace_->images;
|
| + *data = images.find(image_id) == images.end() ? -1 : 1;
|
| +}
|
| +
|
| GLuint64 TestWebGraphicsContext3D::insertFenceSync() {
|
| return next_insert_fence_sync_++;
|
| }
|
|
|