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

Unified Diff: third_party/WebKit/Source/core/html/HTMLViewSourceDocument.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/html/HTMLViewSourceDocument.h
diff --git a/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.h b/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.h
index a088030b344cb03c282fc0d7e452f355149b81b2..8bce32afd0ea1f30f5f3ec5de22c0729cab0f6c0 100644
--- a/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.h
+++ b/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.h
@@ -40,9 +40,9 @@ public:
AnnotateSourceAsXSS
};
- static PassRefPtrWillBeRawPtr<HTMLViewSourceDocument> create(const DocumentInit& initializer, const String& mimeType)
+ static RawPtr<HTMLViewSourceDocument> create(const DocumentInit& initializer, const String& mimeType)
{
- return adoptRefWillBeNoop(new HTMLViewSourceDocument(initializer, mimeType));
+ return new HTMLViewSourceDocument(initializer, mimeType);
}
void addSource(const String&, HTMLToken&, SourceAnnotation);
@@ -56,7 +56,7 @@ public:
private:
HTMLViewSourceDocument(const DocumentInit&, const String& mimeType);
- PassRefPtrWillBeRawPtr<DocumentParser> createParser() override;
+ RawPtr<DocumentParser> createParser() override;
void processDoctypeToken(const String& source, HTMLToken&);
void processEndOfFileToken(const String& source, HTMLToken&);
@@ -65,20 +65,20 @@ private:
void processCharacterToken(const String& source, HTMLToken&, SourceAnnotation);
void createContainingTable();
- PassRefPtrWillBeRawPtr<Element> addSpanWithClassName(const AtomicString&);
+ RawPtr<Element> addSpanWithClassName(const AtomicString&);
void addLine(const AtomicString& className);
void finishLine();
void addText(const String& text, const AtomicString& className, SourceAnnotation = AnnotateSourceAsSafe);
int addRange(const String& source, int start, int end, const AtomicString& className, bool isLink = false, bool isAnchor = false, const AtomicString& link = nullAtom);
void maybeAddSpanForAnnotation(SourceAnnotation);
- PassRefPtrWillBeRawPtr<Element> addLink(const AtomicString& url, bool isAnchor);
- PassRefPtrWillBeRawPtr<Element> addBase(const AtomicString& href);
+ RawPtr<Element> addLink(const AtomicString& url, bool isAnchor);
+ RawPtr<Element> addBase(const AtomicString& href);
String m_type;
- RefPtrWillBeMember<Element> m_current;
- RefPtrWillBeMember<HTMLTableSectionElement> m_tbody;
- RefPtrWillBeMember<HTMLTableCellElement> m_td;
+ Member<Element> m_current;
+ Member<HTMLTableSectionElement> m_tbody;
+ Member<HTMLTableCellElement> m_td;
int m_lineNumber;
};

Powered by Google App Engine
This is Rietveld 408576698