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

Unified Diff: chrome/test/chromedriver/chrome/web_view_impl.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/web_view_impl.cc
diff --git a/chrome/test/chromedriver/chrome/web_view_impl.cc b/chrome/test/chromedriver/chrome/web_view_impl.cc
index 55c035f4b4beed39f38e1e61339a4529fae7226e..f1ab9b4d64347f0f6e47bc7dda88b0d5763b902c 100644
--- a/chrome/test/chromedriver/chrome/web_view_impl.cc
+++ b/chrome/test/chromedriver/chrome/web_view_impl.cc
@@ -489,7 +489,7 @@ Status WebViewImpl::EndProfile(scoped_ptr<base::Value>* profile_data) {
}
}
- *profile_data = profile_result.PassAs<base::Value>();
+ *profile_data = profile_result.Pass();
return status;
}

Powered by Google App Engine
This is Rietveld 408576698