| Index: gpu/command_buffer/service/test_helper.cc
|
| diff --git a/gpu/command_buffer/service/test_helper.cc b/gpu/command_buffer/service/test_helper.cc
|
| index 5b3f57cadbbd418836ae7877cb7e9166c16b778e..a229c687c3ba046c475b7575dd8396101ad553ad 100644
|
| --- a/gpu/command_buffer/service/test_helper.cc
|
| +++ b/gpu/command_buffer/service/test_helper.cc
|
| @@ -523,11 +523,12 @@ void TestHelper::DoBufferData(
|
|
|
| void TestHelper::SetTexParameterWithExpectations(
|
| ::gfx::MockGLInterface* gl, MockErrorState* error_state,
|
| - TextureManager* manager, Texture* texture,
|
| + TextureManager* manager, TextureRef* texture_ref,
|
| GLenum pname, GLint value, GLenum error) {
|
| if (error == GL_NO_ERROR) {
|
| if (pname != GL_TEXTURE_POOL_CHROMIUM) {
|
| - EXPECT_CALL(*gl, TexParameteri(texture->target(), pname, value))
|
| + EXPECT_CALL(*gl, TexParameteri(texture_ref->texture()->target(),
|
| + pname, value))
|
| .Times(1)
|
| .RetiresOnSaturation();
|
| }
|
| @@ -540,7 +541,7 @@ void TestHelper::SetTexParameterWithExpectations(
|
| .Times(1)
|
| .RetiresOnSaturation();
|
| }
|
| - manager->SetParameter("", error_state, texture, pname, value);
|
| + manager->SetParameter("", error_state, texture_ref, pname, value);
|
| }
|
|
|
| ScopedGLImplementationSetter::ScopedGLImplementationSetter(
|
|
|