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

Unified Diff: ui/gl/gl_image_shared_memory.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
Index: ui/gl/gl_image_shared_memory.cc
diff --git a/ui/gl/gl_image_shared_memory.cc b/ui/gl/gl_image_shared_memory.cc
index 21c72c11b2b5007fdc208a2ccc48f7f223376086..c82000833301b453eb219e41f3e82718078dd1b4 100644
--- a/ui/gl/gl_image_shared_memory.cc
+++ b/ui/gl/gl_image_shared_memory.cc
@@ -76,7 +76,7 @@ bool GLImageSharedMemory::Initialize(
}
DCHECK(!shared_memory_);
- shared_memory_ = duped_shared_memory.Pass();
+ shared_memory_ = std::move(duped_shared_memory);
shared_memory_id_ = shared_memory_id;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698