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

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, 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/Attr.h
diff --git a/third_party/WebKit/Source/core/dom/Attr.h b/third_party/WebKit/Source/core/dom/Attr.h
index 9bfd82932a6fc1dcf00bbab7a9fbc23126406a54..7536c084fdb18cdc0f07cfd428b96ac82799a853 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)

Powered by Google App Engine
This is Rietveld 408576698