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

Unified Diff: components/mus/public/cpp/tests/window_server_test_base.cc

Issue 1906623003: Convert //components/mus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: components/mus/public/cpp/tests/window_server_test_base.cc
diff --git a/components/mus/public/cpp/tests/window_server_test_base.cc b/components/mus/public/cpp/tests/window_server_test_base.cc
index 90e973893cfc78c58b9279bffd7e9cc8aa2dfa1d..15c0cd2c87c71f38c56e24a182b295d7188a1a3c 100644
--- a/components/mus/public/cpp/tests/window_server_test_base.cc
+++ b/components/mus/public/cpp/tests/window_server_test_base.cc
@@ -100,7 +100,7 @@ bool WindowServerTestBase::OnWmSetBounds(Window* window, gfx::Rect* bounds) {
bool WindowServerTestBase::OnWmSetProperty(
Window* window,
const std::string& name,
- scoped_ptr<std::vector<uint8_t>>* new_data) {
+ std::unique_ptr<std::vector<uint8_t>>* new_data) {
return window_manager_delegate_
? window_manager_delegate_->OnWmSetProperty(window, name, new_data)
: true;

Powered by Google App Engine
This is Rietveld 408576698