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

Unified Diff: third_party/WebKit/Source/core/dom/PseudoElement.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, 9 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 | « third_party/WebKit/Source/core/dom/PseudoElement.h ('k') | third_party/WebKit/Source/core/dom/Range.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/PseudoElement.cpp
diff --git a/third_party/WebKit/Source/core/dom/PseudoElement.cpp b/third_party/WebKit/Source/core/dom/PseudoElement.cpp
index 6bcd3a64d163abe3f38f0830342d79da8788e241..ff405551a0c4b992e582d3768a633fbb03d5ca51 100644
--- a/third_party/WebKit/Source/core/dom/PseudoElement.cpp
+++ b/third_party/WebKit/Source/core/dom/PseudoElement.cpp
@@ -35,9 +35,9 @@
namespace blink {
-PassRefPtrWillBeRawPtr<PseudoElement> PseudoElement::create(Element* parent, PseudoId pseudoId)
+RawPtr<PseudoElement> PseudoElement::create(Element* parent, PseudoId pseudoId)
{
- return adoptRefWillBeNoop(new PseudoElement(parent, pseudoId));
+ return new PseudoElement(parent, pseudoId);
}
const QualifiedName& pseudoElementTagName(PseudoId pseudoId)
@@ -108,7 +108,7 @@ void PseudoElement::dispose()
ASSERT(!previousSibling());
detach();
- RefPtrWillBeRawPtr<Element> parent = parentOrShadowHostElement();
+ RawPtr<Element> parent = parentOrShadowHostElement();
document().adoptIfNeeded(*this);
setParentOrShadowHostNode(0);
removedFrom(parent.get());
« no previous file with comments | « third_party/WebKit/Source/core/dom/PseudoElement.h ('k') | third_party/WebKit/Source/core/dom/Range.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698