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

Unified Diff: ui/views/mus/native_widget_mus.cc

Issue 2173033002: Make various views SetShape() methods take an unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 5 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 | « ui/views/mus/native_widget_mus.h ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/native_widget_mus.cc
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc
index a628fe0c33a791a702763391e048e9afa58d56ab..fd0053245c0114eaa977ad27809d83d5800a39d6 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -31,7 +31,6 @@
#include "ui/base/view_prop.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
-#include "ui/display/screen.h"
#include "ui/events/event.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/path.h"
@@ -967,7 +966,7 @@ void NativeWidgetMus::StackBelow(gfx::NativeView native_view) {
// NOTIMPLEMENTED();
}
-void NativeWidgetMus::SetShape(SkRegion* shape) {
+void NativeWidgetMus::SetShape(std::unique_ptr<SkRegion> shape) {
// NOTIMPLEMENTED();
}
« no previous file with comments | « ui/views/mus/native_widget_mus.h ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698