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

Unified Diff: mash/wm/window_manager.cc

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/window_manager.h ('k') | mash/wm/window_manager_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/window_manager.cc
diff --git a/mash/wm/window_manager.cc b/mash/wm/window_manager.cc
index 5bcd15e1a7424491c0ec6a58249005a16e2bc1f9..fcaaea2077287b8768dbf08dc58fdb689daf93b2 100644
--- a/mash/wm/window_manager.cc
+++ b/mash/wm/window_manager.cc
@@ -5,6 +5,7 @@
#include "mash/wm/window_manager.h"
#include <stdint.h>
+
#include <utility>
#include "components/mus/common/types.h"
@@ -146,7 +147,7 @@ bool WindowManager::OnWmSetBounds(mus::Window* window, gfx::Rect* bounds) {
bool WindowManager::OnWmSetProperty(
mus::Window* window,
const std::string& name,
- scoped_ptr<std::vector<uint8_t>>* new_data) {
+ std::unique_ptr<std::vector<uint8_t>>* new_data) {
// TODO(sky): constrain this to set of keys we know about, and allowed
// values.
return name == mus::mojom::WindowManager::kShowState_Property ||
« no previous file with comments | « mash/wm/window_manager.h ('k') | mash/wm/window_manager_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698