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

Unified Diff: components/test_runner/event_sender.h

Issue 1921923002: Convert //components/[o-t]* 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/test_runner/event_sender.h
diff --git a/components/test_runner/event_sender.h b/components/test_runner/event_sender.h
index 6b549773541c346d2ff0af9ce75781286335126e..692f48ee78bb9b14d830f3c2fe73eb8c785e55c0 100644
--- a/components/test_runner/event_sender.h
+++ b/components/test_runner/event_sender.h
@@ -7,13 +7,13 @@
#include <stdint.h>
+#include <memory>
#include <queue>
#include <string>
#include <unordered_map>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "build/build_config.h"
#include "third_party/WebKit/public/platform/WebDragData.h"
@@ -265,7 +265,7 @@ class EventSender {
bool touch_cancelable_;
std::vector<blink::WebTouchPoint> touch_points_;
- scoped_ptr<blink::WebContextMenuData> last_context_menu_data_;
+ std::unique_ptr<blink::WebContextMenuData> last_context_menu_data_;
blink::WebDragData current_drag_data_;
« no previous file with comments | « components/test_runner/app_banner_client.cc ('k') | components/test_runner/mock_credential_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698