Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2331)

Unified Diff: content/common/gpu/client/gl_helper_unittest.cc

Issue 1544293002: Convert Pass()→std::move() in //content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « content/common/gpu/client/context_provider_command_buffer.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698