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

Unified Diff: components/exo/wayland/server.cc

Issue 1553263002: Remove Pass on CrOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix //components/exo too Created 4 years, 11 months 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 | « components/exo/display.cc ('k') | content/common/gpu/media/v4l2_video_encode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wayland/server.cc
diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc
index f0f2a3c586c6cf77efa205b776f8f2229e09a4d5..6559fddcc8a45d6e846cf5d7ec155fd87a52cce3 100644
--- a/components/exo/wayland/server.cc
+++ b/components/exo/wayland/server.cc
@@ -488,7 +488,7 @@ void drm_create_prime_buffer(wl_client* client,
buffer->set_release_callback(
base::Bind(&wl_buffer_send_release, base::Unretained(buffer_resource)));
- SetImplementation(buffer_resource, &buffer_implementation, buffer.Pass());
+ SetImplementation(buffer_resource, &buffer_implementation, std::move(buffer));
}
const struct wl_drm_interface drm_implementation = {
« no previous file with comments | « components/exo/display.cc ('k') | content/common/gpu/media/v4l2_video_encode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698