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

Unified Diff: remoting/client/plugin/pepper_mouse_locker.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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: remoting/client/plugin/pepper_mouse_locker.h
diff --git a/remoting/client/plugin/pepper_mouse_locker.h b/remoting/client/plugin/pepper_mouse_locker.h
index 5e54dd25de85fb553a27072770a5a59c2d7f22b7..b1b3c04a4209fd39ec38f38a6aa4a453f83ce2a4 100644
--- a/remoting/client/plugin/pepper_mouse_locker.h
+++ b/remoting/client/plugin/pepper_mouse_locker.h
@@ -5,9 +5,10 @@
#ifndef REMOTING_CLIENT_PLUGIN_PEPPER_MOUSE_LOCKER_H_
#define REMOTING_CLIENT_PLUGIN_PEPPER_MOUSE_LOCKER_H_
+#include <memory>
+
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ppapi/cpp/mouse_lock.h"
#include "ppapi/utility/completion_callback_factory.h"
#include "remoting/protocol/cursor_shape_stub.h"
@@ -67,7 +68,7 @@ private:
protocol::CursorShapeStub* cursor_stub_;
// Copy of the most-recently-set cursor, to set when mouse-lock is cancelled.
- scoped_ptr<protocol::CursorShapeInfo> cursor_shape_;
+ std::unique_ptr<protocol::CursorShapeInfo> cursor_shape_;
// Used to create PPAPI callbacks that will be abandoned when |this| is
// deleted.
« no previous file with comments | « remoting/client/plugin/pepper_input_handler.h ('k') | remoting/client/plugin/pepper_packet_socket_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698