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

Unified Diff: ui/views_content_client/views_content_client_main_parts.cc

Issue 1539583003: Convert Pass()→std::move() in ui/ (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
« no previous file with comments | « ui/views_content_client/views_content_browser_client.cc ('k') | ui/wm/core/accelerator_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views_content_client/views_content_client_main_parts.cc
diff --git a/ui/views_content_client/views_content_client_main_parts.cc b/ui/views_content_client/views_content_client_main_parts.cc
index dcb0e47ebd5446b963654c69ff32904fd25c21d4..5dec24d8f04d69a4b18e4a41c0222fc1da546bb5 100644
--- a/ui/views_content_client/views_content_client_main_parts.cc
+++ b/ui/views_content_client/views_content_client_main_parts.cc
@@ -4,6 +4,8 @@
#include "ui/views_content_client/views_content_client_main_parts.h"
+#include <utility>
+
#include "base/run_loop.h"
#include "content/public/browser/context_factory.h"
#include "content/shell/browser/shell_browser_context.h"
@@ -28,7 +30,7 @@ void ViewsContentClientMainParts::PreMainMessageLoopRun() {
scoped_ptr<views::TestViewsDelegate> test_views_delegate(
new views::DesktopTestViewsDelegate);
test_views_delegate->set_context_factory(content::GetContextFactory());
- views_delegate_ = test_views_delegate.Pass();
+ views_delegate_ = std::move(test_views_delegate);
}
void ViewsContentClientMainParts::PostMainMessageLoopRun() {
« no previous file with comments | « ui/views_content_client/views_content_browser_client.cc ('k') | ui/wm/core/accelerator_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698