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

Unified Diff: components/web_resource/web_resource_service.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 5 years 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: components/web_resource/web_resource_service.cc
diff --git a/components/web_resource/web_resource_service.cc b/components/web_resource/web_resource_service.cc
index d7fa9fb9c1841cc1146f476e9b00fd4eeb767800..3c6dafafda4413f8046092f9a1a2f8784f09cadd 100644
--- a/components/web_resource/web_resource_service.cc
+++ b/components/web_resource/web_resource_service.cc
@@ -78,7 +78,7 @@ void WebResourceService::OnURLFetchComplete(const net::URLFetcher* source) {
// (on Android in particular) we short-cut the full parsing in the case of
// trivially "empty" JSONs.
if (data.empty() || data == "{}") {
- OnUnpackFinished(make_scoped_ptr(new base::DictionaryValue()).Pass());
+ OnUnpackFinished(make_scoped_ptr(new base::DictionaryValue()));
} else {
parse_json_callback_.Run(data,
base::Bind(&WebResourceService::OnUnpackFinished,

Powered by Google App Engine
This is Rietveld 408576698