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

Unified Diff: Source/core/loader/SinkDocument.h

Issue 292503006: Oilpan: add [WillBeGarbageCollected] for Node. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + use transition types in XSLTProcessor Created 6 years, 7 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: Source/core/loader/SinkDocument.h
diff --git a/Source/core/loader/SinkDocument.h b/Source/core/loader/SinkDocument.h
index 7a0f0ec55fd6508d22a683ac15030a4ec831884a..1c81640f62eb9c7008f309d7abb2e3328fd95307 100644
--- a/Source/core/loader/SinkDocument.h
+++ b/Source/core/loader/SinkDocument.h
@@ -32,9 +32,9 @@ namespace WebCore {
class SinkDocument FINAL : public HTMLDocument {
public:
- static PassRefPtr<SinkDocument> create(const DocumentInit& initializer = DocumentInit())
+ static PassRefPtrWillBeRawPtr<SinkDocument> create(const DocumentInit& initializer = DocumentInit())
{
- return adoptRef(new SinkDocument(initializer));
+ return adoptRefWillBeRefCountedGarbageCollected(new SinkDocument(initializer));
}
private:

Powered by Google App Engine
This is Rietveld 408576698