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

Unified Diff: ash/frame/frame_border_hit_test_controller.cc

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/frame/default_header_painter_unittest.cc ('k') | ash/host/ash_window_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/frame/frame_border_hit_test_controller.cc
diff --git a/ash/frame/frame_border_hit_test_controller.cc b/ash/frame/frame_border_hit_test_controller.cc
index 856933fbdd579a0b0206759f28a97cd44cfd4954..0e6421152423f3d7d34c14117ec3cc86b189a09a 100644
--- a/ash/frame/frame_border_hit_test_controller.cc
+++ b/ash/frame/frame_border_hit_test_controller.cc
@@ -4,6 +4,8 @@
#include "ash/frame/frame_border_hit_test_controller.h"
+#include <memory>
+
#include "ash/ash_constants.h"
#include "ash/frame/caption_buttons/frame_caption_button_container_view.h"
#include "ash/wm/resize_handle_window_targeter.h"
@@ -21,7 +23,7 @@ namespace ash {
FrameBorderHitTestController::FrameBorderHitTestController(views::Widget* frame)
: frame_window_(frame->GetNativeWindow()) {
- frame_window_->SetEventTargeter(scoped_ptr<ui::EventTargeter>(
+ frame_window_->SetEventTargeter(std::unique_ptr<ui::EventTargeter>(
new ResizeHandleWindowTargeter(frame_window_, NULL)));
}
« no previous file with comments | « ash/frame/default_header_painter_unittest.cc ('k') | ash/host/ash_window_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698