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

Unified Diff: content/browser/compositor/offscreen_browser_compositor_output_surface.cc

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/compositor/offscreen_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/offscreen_browser_compositor_output_surface.cc b/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
index e2d6662103288751e189cc549bd6ca19ffab28aa..eaadce554994e48f6baa9944c77dee17864f7435 100644
--- a/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
@@ -4,6 +4,8 @@
#include "content/browser/compositor/offscreen_browser_compositor_output_surface.h"
+#include <utility>
+
#include "base/logging.h"
#include "build/build_config.h"
#include "cc/output/compositor_frame.h"
@@ -38,7 +40,7 @@ OffscreenBrowserCompositorOutputSurface::
: BrowserCompositorOutputSurface(context,
worker_context,
vsync_manager,
- overlay_candidate_validator.Pass()),
+ std::move(overlay_candidate_validator)),
fbo_(0),
is_backbuffer_discarded_(false),
weak_ptr_factory_(this) {

Powered by Google App Engine
This is Rietveld 408576698