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

Unified Diff: ash/drag_drop/drag_image_view.h

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 | « ash/drag_drop/drag_drop_tracker_unittest.cc ('k') | ash/extended_desktop_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/drag_drop/drag_image_view.h
diff --git a/ash/drag_drop/drag_image_view.h b/ash/drag_drop/drag_image_view.h
index ee504f9abe62191f434f83e888fa529ca85f1a6a..8211c769d5faaead54d264e5dc5ffcae31053be0 100644
--- a/ash/drag_drop/drag_image_view.h
+++ b/ash/drag_drop/drag_image_view.h
@@ -5,6 +5,8 @@
#ifndef ASH_DRAG_DROP_DRAG_IMAGE_VIEW_H_
#define ASH_DRAG_DROP_DRAG_IMAGE_VIEW_H_
+#include <memory>
+
#include "base/macros.h"
#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/views/controls/image_view.h"
@@ -71,7 +73,7 @@ class DragImageView : public views::ImageView {
// Overridden from views::view
void Layout() override;
- scoped_ptr<views::Widget> widget_;
+ std::unique_ptr<views::Widget> widget_;
gfx::Size widget_size_;
ui::DragDropTypes::DragEventSource drag_event_source_;
« no previous file with comments | « ash/drag_drop/drag_drop_tracker_unittest.cc ('k') | ash/extended_desktop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698