| Index: ui/compositor/test_web_graphics_context_3d.cc
|
| diff --git a/ui/compositor/test_web_graphics_context_3d.cc b/ui/compositor/test_web_graphics_context_3d.cc
|
| index 0031da0416357204ba053932f99bfbf3e2ff44d8..7afa4b9618fa72b53497d29bb08eff1ddebc3b8e 100644
|
| --- a/ui/compositor/test_web_graphics_context_3d.cc
|
| +++ b/ui/compositor/test_web_graphics_context_3d.cc
|
| @@ -9,7 +9,9 @@
|
|
|
| namespace ui {
|
|
|
| -TestWebGraphicsContext3D::TestWebGraphicsContext3D() {}
|
| +TestWebGraphicsContext3D::TestWebGraphicsContext3D()
|
| + : next_texture_id_(1) {}
|
| +
|
| TestWebGraphicsContext3D::~TestWebGraphicsContext3D() {}
|
|
|
| void TestWebGraphicsContext3D::Initialize() {
|
| @@ -216,7 +218,7 @@ WebKit::WebGLId TestWebGraphicsContext3D::createShader(
|
| }
|
|
|
| WebKit::WebGLId TestWebGraphicsContext3D::createTexture() {
|
| - return 1;
|
| + return next_texture_id_++;
|
| }
|
|
|
| WebKit::WebGLId TestWebGraphicsContext3D::createQueryEXT()
|
|
|