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

Unified Diff: components/mus/ws/server_window_surface.cc

Issue 1906623003: Convert //components/mus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/mus/ws/server_window_surface.h ('k') | components/mus/ws/server_window_surface_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/server_window_surface.cc
diff --git a/components/mus/ws/server_window_surface.cc b/components/mus/ws/server_window_surface.cc
index 3484200da9adb0f3e1e3a9749bfa2ffb1d48137e..f4a500aa783f4dca055f548d46d965164bc0eea4 100644
--- a/components/mus/ws/server_window_surface.cc
+++ b/components/mus/ws/server_window_surface.cc
@@ -97,7 +97,8 @@ ServerWindow* ServerWindowSurface::window() {
return manager_->window();
}
-scoped_ptr<cc::CompositorFrame> ServerWindowSurface::ConvertCompositorFrame(
+std::unique_ptr<cc::CompositorFrame>
+ServerWindowSurface::ConvertCompositorFrame(
const mojom::CompositorFramePtr& input) {
referenced_window_ids_.clear();
return ConvertToCompositorFrame(input, this);
« no previous file with comments | « components/mus/ws/server_window_surface.h ('k') | components/mus/ws/server_window_surface_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698