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

Unified Diff: third_party/WebKit/Source/core/dom/Attr.h

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
Index: third_party/WebKit/Source/core/dom/Attr.h
diff --git a/third_party/WebKit/Source/core/dom/Attr.h b/third_party/WebKit/Source/core/dom/Attr.h
index 52c92c8fbd465790f0ed55449ba34dc123982de1..c1ce85091a781f966585cbaf12ee676dbe01bbbd 100644
--- a/third_party/WebKit/Source/core/dom/Attr.h
+++ b/third_party/WebKit/Source/core/dom/Attr.h
@@ -34,8 +34,8 @@ namespace blink {
class CORE_EXPORT Attr final : public Node {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<Attr> create(Element&, const QualifiedName&);
- static PassRefPtrWillBeRawPtr<Attr> create(Document&, const QualifiedName&, const AtomicString& value);
+ static RawPtr<Attr> create(Element&, const QualifiedName&);
+ static RawPtr<Attr> create(Document&, const QualifiedName&, const AtomicString& value);
~Attr() override;
String name() const { return m_name.toString(); }
@@ -70,13 +70,13 @@ private:
String nodeValue() const override { return value(); }
void setNodeValue(const String&) override;
- PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) override;
+ RawPtr<Node> cloneNode(bool deep) override;
bool isAttributeNode() const override { return true; }
// Attr wraps either an element/name, or a name/value pair (when it's a standalone Node.)
// Note that m_name is always set, but m_element/m_standaloneValue may be null.
- RawPtrWillBeMember<Element> m_element;
+ Member<Element> m_element;
QualifiedName m_name;
// Holds the value if it is a standalone Node, or the local name of the
// attribute it is attached to on an Element. The latter may (letter case)
« no previous file with comments | « third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp ('k') | third_party/WebKit/Source/core/dom/Attr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698