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

Unified Diff: ui/gfx/win/direct_manipulation.cc

Issue 1530923002: Replace Pass() with std::move in ui/gl and ui/gfx (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 | « no previous file | ui/gl/gl_image_memory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/direct_manipulation.cc
diff --git a/ui/gfx/win/direct_manipulation.cc b/ui/gfx/win/direct_manipulation.cc
index 2014c7088544c26b0ec188b78011d4f989c7e208..50f8f43fc3ca22da502f953cca7eb16f9fe55427 100644
--- a/ui/gfx/win/direct_manipulation.cc
+++ b/ui/gfx/win/direct_manipulation.cc
@@ -18,7 +18,7 @@ DirectManipulationHelper::CreateInstance() {
if (base::win::GetVersion() >= base::win::VERSION_WIN10)
instance.reset(new DirectManipulationHelper);
- return instance.Pass();
+ return std::move(instance);
Nico 2015/12/17 11:57:54 You forgot to remove it here. clang/win complains:
}
DirectManipulationHelper::DirectManipulationHelper() {}
« no previous file with comments | « no previous file | ui/gl/gl_image_memory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698