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

Unified Diff: chrome/browser/ui/aura/accessibility/automation_manager_aura.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: chrome/browser/ui/aura/accessibility/automation_manager_aura.h
diff --git a/chrome/browser/ui/aura/accessibility/automation_manager_aura.h b/chrome/browser/ui/aura/accessibility/automation_manager_aura.h
index 159edb4704e0d68f0dacdeff93ad1eb2bfba1fb4..4a03023e356b7e8323c27b8e012aea05dc751c8a 100644
--- a/chrome/browser/ui/aura/accessibility/automation_manager_aura.h
+++ b/chrome/browser/ui/aura/accessibility/automation_manager_aura.h
@@ -7,8 +7,9 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/extensions/api/automation_internal/automation_action_adapter.h"
#include "chrome/browser/ui/aura/accessibility/ax_tree_source_aura.h"
#include "ui/accessibility/ax_tree_serializer.h"
@@ -80,11 +81,11 @@ class AutomationManagerAura : public extensions::AutomationActionAdapter {
// Holds the active views-based accessibility tree. A tree currently consists
// of all views descendant to a |Widget| (see |AXTreeSourceViews|).
// A tree becomes active when an event is fired on a descendant view.
- scoped_ptr<AXTreeSourceAura> current_tree_;
+ std::unique_ptr<AXTreeSourceAura> current_tree_;
// Serializes incremental updates on the currently active tree
// |current_tree_|.
- scoped_ptr<AuraAXTreeSerializer> current_tree_serializer_;
+ std::unique_ptr<AuraAXTreeSerializer> current_tree_serializer_;
bool processing_events_;
« no previous file with comments | « chrome/browser/ui/ash/window_positioner_unittest.cc ('k') | chrome/browser/ui/aura/accessibility/ax_tree_source_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698