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

Unified Diff: ash/host/ash_window_tree_host_platform.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/host/ash_window_tree_host_platform.h ('k') | ash/host/ash_window_tree_host_unified.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_platform.cc
diff --git a/ash/host/ash_window_tree_host_platform.cc b/ash/host/ash_window_tree_host_platform.cc
index 88e8be3d8ca6ddc9f80109fa97685ca6e8e359eb..462787af99ab453fe6fefa685fc226c5152c8b6f 100644
--- a/ash/host/ash_window_tree_host_platform.cc
+++ b/ash/host/ash_window_tree_host_platform.cc
@@ -54,7 +54,7 @@ void AshWindowTreeHostPlatform::UnConfineCursor() {
}
void AshWindowTreeHostPlatform::SetRootWindowTransformer(
- scoped_ptr<RootWindowTransformer> transformer) {
+ std::unique_ptr<RootWindowTransformer> transformer) {
transformer_helper_.SetRootWindowTransformer(std::move(transformer));
ConfineCursorToRootWindow();
}
@@ -73,7 +73,7 @@ void AshWindowTreeHostPlatform::PrepareForShutdown() {
// ui::EventHandlers to be unable to convert the event's location to screen
// coordinates.
window()->SetEventTargeter(
- scoped_ptr<ui::EventTargeter>(new ui::NullEventTargeter));
+ std::unique_ptr<ui::EventTargeter>(new ui::NullEventTargeter));
}
void AshWindowTreeHostPlatform::SetRootTransform(
« no previous file with comments | « ash/host/ash_window_tree_host_platform.h ('k') | ash/host/ash_window_tree_host_unified.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698