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

Unified Diff: content/browser/accessibility/one_shot_accessibility_tree_search_unittest.cc

Issue 1874893002: Convert //content/browser 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: content/browser/accessibility/one_shot_accessibility_tree_search_unittest.cc
diff --git a/content/browser/accessibility/one_shot_accessibility_tree_search_unittest.cc b/content/browser/accessibility/one_shot_accessibility_tree_search_unittest.cc
index be30284fc8012bdffa5a8f72f7a3f35636135ed8..21dc1c5f687afa43b85f9eba2bb34d320b551bb9 100644
--- a/content/browser/accessibility/one_shot_accessibility_tree_search_unittest.cc
+++ b/content/browser/accessibility/one_shot_accessibility_tree_search_unittest.cc
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "content/browser/accessibility/one_shot_accessibility_tree_search.h"
+
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/browser/accessibility/browser_accessibility.h"
#include "content/browser/accessibility/browser_accessibility_manager.h"
-#include "content/browser/accessibility/one_shot_accessibility_tree_search.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
@@ -38,7 +40,7 @@ class MAYBE_OneShotAccessibilityTreeSearchTest : public testing::Test {
protected:
void SetUp() override;
- scoped_ptr<BrowserAccessibilityManager> tree_;
+ std::unique_ptr<BrowserAccessibilityManager> tree_;
private:
DISALLOW_COPY_AND_ASSIGN(MAYBE_OneShotAccessibilityTreeSearchTest);

Powered by Google App Engine
This is Rietveld 408576698