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

Unified Diff: mash/wm/shadow.h

Issue 1857623003: convert //mash to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « mash/wm/root_window_controller.h ('k') | mash/wm/user_window_controller_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/shadow.h
diff --git a/mash/wm/shadow.h b/mash/wm/shadow.h
index fc2450d7e6a2b5111bb16e0850b786f47c79af2f..9d3687bbd52200579fbfd54f72a7d8f9a317c7ef 100644
--- a/mash/wm/shadow.h
+++ b/mash/wm/shadow.h
@@ -5,8 +5,9 @@
#ifndef MASH_WM_SHADOW_H_
#define MASH_WM_SHADOW_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/mus/public/cpp/window_observer.h"
#include "ui/compositor/layer_animation_observer.h"
#include "ui/gfx/geometry/rect.h"
@@ -83,10 +84,10 @@ class Shadow : public ui::ImplicitAnimationObserver,
// The parent layer of the shadow layer. It serves as a container accessible
// from the outside to control the visibility of the shadow.
- scoped_ptr<ui::Layer> layer_;
+ std::unique_ptr<ui::Layer> layer_;
// The actual shadow layer corresponding to a cc::NinePatchLayer.
- scoped_ptr<ui::Layer> shadow_layer_;
+ std::unique_ptr<ui::Layer> shadow_layer_;
// Size of the current shadow image.
gfx::Size image_size_;
« no previous file with comments | « mash/wm/root_window_controller.h ('k') | mash/wm/user_window_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698