| Index: components/test_runner/test_plugin.cc
|
| diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc
|
| index f26ebe2989f4c9880d7c4c28ea692dd8a6088269..f57c5b77b4180b2d88f4871021c0447d4d012ff0 100644
|
| --- a/components/test_runner/test_plugin.cc
|
| +++ b/components/test_runner/test_plugin.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <stddef.h>
|
| #include <stdint.h>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/logging.h"
|
| @@ -132,7 +133,8 @@ blink::WebPluginContainer::TouchEventRequestType ParseTouchEventRequestType(
|
|
|
| class DeferredDeleteTask : public blink::WebTaskRunner::Task {
|
| public:
|
| - DeferredDeleteTask(scoped_ptr<TestPlugin> plugin) : plugin_(plugin.Pass()) {}
|
| + DeferredDeleteTask(scoped_ptr<TestPlugin> plugin)
|
| + : plugin_(std::move(plugin)) {}
|
|
|
| void run() override {}
|
|
|
| @@ -305,7 +307,7 @@ void TestPlugin::updateGeometry(
|
| DrawSceneSoftware(bitmap->pixels());
|
| texture_mailbox_ = cc::TextureMailbox(
|
| bitmap.get(), gfx::Size(rect_.width, rect_.height));
|
| - shared_bitmap_ = bitmap.Pass();
|
| + shared_bitmap_ = std::move(bitmap);
|
| }
|
| }
|
|
|
|
|