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

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, 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/dom/PseudoElement.cpp
diff --git a/third_party/WebKit/Source/core/dom/PseudoElement.cpp b/third_party/WebKit/Source/core/dom/PseudoElement.cpp
index 524549fd40fc9d73d2ba0ded6c0719804d290e0f..5f23cfe170eabc07b930a530e45705ce3c46007c 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());

Powered by Google App Engine
This is Rietveld 408576698