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

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

Issue 1641563002: Remove linked_ptr usage in //base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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/guest_view/browser/guest_view_base.h
diff --git a/components/guest_view/browser/guest_view_base.h b/components/guest_view/browser/guest_view_base.h
index 9d5b340d2166e0a8e7efccdacbb46ee0d31971ed..8def91e8db6700d80316780ce573cd5535dfcb55 100644
--- a/components/guest_view/browser/guest_view_base.h
+++ b/components/guest_view/browser/guest_view_base.h
@@ -8,6 +8,7 @@
#include <queue>
#include "base/macros.h"
+#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
#include "components/guest_view/common/guest_view_constants.h"
@@ -431,7 +432,7 @@ class GuestViewBase : public content::BrowserPluginGuestDelegate,
// This is a queue of Events that are destined to be sent to the embedder once
// the guest is attached to a particular embedder.
- std::deque<linked_ptr<GuestViewEvent> > pending_events_;
+ std::deque<scoped_ptr<GuestViewEvent>> pending_events_;
// The opener guest view.
base::WeakPtr<GuestViewBase> opener_;

Powered by Google App Engine
This is Rietveld 408576698