| Index: chrome/test/chromedriver/chrome/heap_snapshot_taker.cc
|
| diff --git a/chrome/test/chromedriver/chrome/heap_snapshot_taker.cc b/chrome/test/chromedriver/chrome/heap_snapshot_taker.cc
|
| index f17e54e9504e08f6830dd457681ab17f0a78f7df..5e5c2255e887e781a920a32c87f1b4f2777f048e 100644
|
| --- a/chrome/test/chromedriver/chrome/heap_snapshot_taker.cc
|
| +++ b/chrome/test/chromedriver/chrome/heap_snapshot_taker.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/test/chromedriver/chrome/heap_snapshot_taker.h"
|
|
|
| #include <stddef.h>
|
| +#include <utility>
|
|
|
| #include "base/json/json_reader.h"
|
| #include "base/logging.h"
|
| @@ -31,7 +32,7 @@ Status HeapSnapshotTaker::TakeSnapshot(scoped_ptr<base::Value>* snapshot) {
|
| if (!value) {
|
| status3 = Status(kUnknownError, "heap snapshot not in JSON format");
|
| } else {
|
| - *snapshot = value.Pass();
|
| + *snapshot = std::move(value);
|
| }
|
| }
|
| snapshot_.clear();
|
|
|