Index: cc/output/copy_output_result.h |
diff --git a/cc/output/copy_output_result.h b/cc/output/copy_output_result.h |
index 3662818ef4118a5c573156b58b6b6673ee8ccf46..57f0cca66effcfa36a01467306569648937fdddf 100644 |
--- a/cc/output/copy_output_result.h |
+++ b/cc/output/copy_output_result.h |
@@ -23,14 +23,14 @@ class CC_EXPORT CopyOutputResult { |
} |
static scoped_ptr<CopyOutputResult> CreateBitmapResult( |
scoped_ptr<SkBitmap> bitmap) { |
- return make_scoped_ptr(new CopyOutputResult(bitmap.Pass())); |
+ return make_scoped_ptr(new CopyOutputResult(std::move(bitmap))); |
} |
static scoped_ptr<CopyOutputResult> CreateTextureResult( |
const gfx::Size& size, |
const TextureMailbox& texture_mailbox, |
scoped_ptr<SingleReleaseCallback> release_callback) { |
- return make_scoped_ptr( |
- new CopyOutputResult(size, texture_mailbox, release_callback.Pass())); |
+ return make_scoped_ptr(new CopyOutputResult(size, texture_mailbox, |
+ std::move(release_callback))); |
} |
~CopyOutputResult(); |