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

Unified Diff: third_party/WebKit/Source/core/frame/Frame.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/frame/Frame.cpp
diff --git a/third_party/WebKit/Source/core/frame/Frame.cpp b/third_party/WebKit/Source/core/frame/Frame.cpp
index 95a0e4190b5745f3b6fdb81b52b2b1538f49d54c..5bb4290d4781cfaa346b5bfe52fe546bd0ee178a 100644
--- a/third_party/WebKit/Source/core/frame/Frame.cpp
+++ b/third_party/WebKit/Source/core/frame/Frame.cpp
@@ -102,7 +102,7 @@ void Frame::detach(FrameDetachType type)
void Frame::detachChildren()
{
- typedef WillBeHeapVector<RefPtrWillBeMember<Frame>> FrameVector;
+ typedef HeapVector<Member<Frame>> FrameVector;
FrameVector childrenToDetach;
childrenToDetach.reserveCapacity(tree().childCount());
for (Frame* child = tree().firstChild(); child; child = child->tree().nextSibling())
@@ -155,7 +155,7 @@ HTMLFrameOwnerElement* Frame::deprecatedLocalOwner() const
static ChromeClient& emptyChromeClient()
{
- DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<EmptyChromeClient>, client, (EmptyChromeClient::create()));
+ DEFINE_STATIC_LOCAL(Persistent<EmptyChromeClient>, client, (EmptyChromeClient::create()));
return *client;
}

Powered by Google App Engine
This is Rietveld 408576698