| 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..935a62f24b11e8e507b3f991440535674e3067f9 100644
|
| --- a/cc/test/test_web_graphics_context_3d.cc
|
| +++ b/cc/test/test_web_graphics_context_3d.cc
|
| @@ -639,6 +639,16 @@ GLuint TestWebGraphicsContext3D::createGpuMemoryBufferImageCHROMIUM(
|
| return image_id;
|
| }
|
|
|
| +GLint TestWebGraphicsContext3D::getImageivCHROMIUM(GLuint image_id,
|
| + GLenum param) {
|
| + DCHECK_EQ(GL_GPU_MEMORY_BUFFER_ID, static_cast<int>(param));
|
| + base::AutoLock lock(namespace_->lock);
|
| + std::unordered_set<unsigned>& images = namespace_->images;
|
| + if (images.find(image_id) != images.end())
|
| + return 1;
|
| + return -1;
|
| +}
|
| +
|
| GLuint64 TestWebGraphicsContext3D::insertFenceSync() {
|
| return next_insert_fence_sync_++;
|
| }
|
|
|