| Index: content/common/gpu/client/gl_helper_unittest.cc
|
| diff --git a/content/common/gpu/client/gl_helper_unittest.cc b/content/common/gpu/client/gl_helper_unittest.cc
|
| index 00449919ab1fb3d132a970a797468bc97f465db5..1a3a352537662771ddd91fb85adc672f60748da6 100644
|
| --- a/content/common/gpu/client/gl_helper_unittest.cc
|
| +++ b/content/common/gpu/client/gl_helper_unittest.cc
|
| @@ -702,7 +702,7 @@ class GLHelperTest : public testing::Test {
|
| }
|
| }
|
| }
|
| - return bitmap.Pass();
|
| + return bitmap;
|
| }
|
|
|
| // Binds texture and framebuffer and loads the bitmap pixels into the texture.
|
| @@ -741,7 +741,7 @@ class GLHelperTest : public testing::Test {
|
| WebGLId src_texture = context_->createTexture();
|
| WebGLId framebuffer = context_->createFramebuffer();
|
| scoped_ptr<SkBitmap> input_pixels =
|
| - CreateTestBitmap(xsize, ysize, test_pattern).Pass();
|
| + CreateTestBitmap(xsize, ysize, test_pattern);
|
| BindTextureAndFrameBuffer(
|
| src_texture, framebuffer, input_pixels.get(), xsize, ysize);
|
|
|
| @@ -835,7 +835,7 @@ class GLHelperTest : public testing::Test {
|
| WebGLId src_texture = context_->createTexture();
|
| WebGLId framebuffer = context_->createFramebuffer();
|
| scoped_ptr<SkBitmap> input_pixels =
|
| - CreateTestBitmap(xsize, ysize, test_pattern).Pass();
|
| + CreateTestBitmap(xsize, ysize, test_pattern);
|
| BindTextureAndFrameBuffer(
|
| src_texture, framebuffer, input_pixels.get(), xsize, ysize);
|
|
|
|
|