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

Unified Diff: components/guest_view/browser/test_guest_view_manager.h

Issue 2707743002: Use std::unique_ptr instead of linked_ptr in //components/guest_view (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | components/guest_view/browser/test_guest_view_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/guest_view/browser/test_guest_view_manager.h
diff --git a/components/guest_view/browser/test_guest_view_manager.h b/components/guest_view/browser/test_guest_view_manager.h
index 5c6f438ff747acd56a6374cf9c386cb2c3478f02..05c5bb69468cc460075f0d0dacc748700e1c4740 100644
--- a/components/guest_view/browser/test_guest_view_manager.h
+++ b/components/guest_view/browser/test_guest_view_manager.h
@@ -11,7 +11,6 @@
#include "base/gtest_prod_util.h"
#include "base/macros.h"
-#include "base/memory/linked_ptr.h"
#include "components/guest_view/browser/guest_view_manager.h"
#include "components/guest_view/browser/guest_view_manager_factory.h"
#include "content/public/test/test_utils.h"
@@ -100,7 +99,7 @@ class TestGuestViewManager : public GuestViewManager {
int num_views_garbage_collected_;
bool waiting_for_guests_created_;
- std::vector<linked_ptr<content::WebContentsDestroyedWatcher>>
+ std::vector<std::unique_ptr<content::WebContentsDestroyedWatcher>>
guest_web_contents_watchers_;
scoped_refptr<content::MessageLoopRunner> created_message_loop_runner_;
scoped_refptr<content::MessageLoopRunner> num_created_message_loop_runner_;
« no previous file with comments | « no previous file | components/guest_view/browser/test_guest_view_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698