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

Unified Diff: content/browser/presentation/presentation_type_converters.h

Issue 1545243002: Convert Pass()→std::move() in //content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/browser/presentation/presentation_type_converters.h
diff --git a/content/browser/presentation/presentation_type_converters.h b/content/browser/presentation/presentation_type_converters.h
index 807368a31f32368fd01f14261597f716aaf1bd88..c707f4fa5e84132036098050fbef9e616aa94515 100644
--- a/content/browser/presentation/presentation_type_converters.h
+++ b/content/browser/presentation/presentation_type_converters.h
@@ -30,7 +30,7 @@ struct TypeConverter<presentation::PresentationSessionInfoPtr,
presentation::PresentationSessionInfo::New());
output->url = input.presentation_url;
output->id = input.presentation_id;
- return output.Pass();
+ return output;
}
};
@@ -52,7 +52,7 @@ struct TypeConverter<presentation::PresentationErrorPtr,
presentation::PresentationError::New());
output->error_type = PresentationErrorTypeToMojo(input.error_type);
output->message = input.message;
- return output.Pass();
+ return output;
}
};

Powered by Google App Engine
This is Rietveld 408576698