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

Unified Diff: third_party/WebKit/Source/core/loader/SinkDocument.cpp

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (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/loader/SinkDocument.cpp
diff --git a/third_party/WebKit/Source/core/loader/SinkDocument.cpp b/third_party/WebKit/Source/core/loader/SinkDocument.cpp
index 7ecda83f146ed77e5397f90ef6328e72bb941de9..22136e90e708ee948ca0a64643c0e6919d6f5d41 100644
--- a/third_party/WebKit/Source/core/loader/SinkDocument.cpp
+++ b/third_party/WebKit/Source/core/loader/SinkDocument.cpp
@@ -31,9 +31,9 @@ namespace blink {
class SinkDocumentParser : public RawDataDocumentParser {
public:
- static PassRefPtrWillBeRawPtr<SinkDocumentParser> create(SinkDocument* document)
+ static RawPtr<SinkDocumentParser> create(SinkDocument* document)
{
- return adoptRefWillBeNoop(new SinkDocumentParser(document));
+ return new SinkDocumentParser(document);
}
private:
@@ -53,7 +53,7 @@ SinkDocument::SinkDocument(const DocumentInit& initializer)
lockCompatibilityMode();
}
-PassRefPtrWillBeRawPtr<DocumentParser> SinkDocument::createParser()
+RawPtr<DocumentParser> SinkDocument::createParser()
{
return SinkDocumentParser::create(this);
}

Powered by Google App Engine
This is Rietveld 408576698