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

Unified Diff: chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc

Issue 657313003: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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: chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc
diff --git a/chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc b/chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc
index a5e4e2cc2163ac6edfd88a47791d6ac3f563981b..2b3aa97ddbc07f7f054fbc4049622680f4c8969e 100644
--- a/chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc
+++ b/chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc
@@ -20,7 +20,7 @@ scoped_ptr<base::Value> GetSnapshotAsValue() {
scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
dict->SetInteger("a", 1);
dict->SetInteger("b", 2);
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
class DummyDevToolsClient : public StubDevToolsClient {

Powered by Google App Engine
This is Rietveld 408576698