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

Unified Diff: Source/core/frame/DOMWindow.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/frame/DOMWindow.h
diff --git a/Source/core/frame/DOMWindow.h b/Source/core/frame/DOMWindow.h
index 9c32d5f45e981d4a31f7cfb7649178a454bf1933..520945388d704b7dec4312198bb01161b2dcbdf9 100644
--- a/Source/core/frame/DOMWindow.h
+++ b/Source/core/frame/DOMWindow.h
@@ -96,14 +96,14 @@ enum PageshowEventPersistence {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindow);
DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<DOMWindow>);
public:
- static PassRefPtr<Document> createDocument(const String& mimeType, const DocumentInit&, bool forceXHTML);
+ static PassRefPtrWillBeRawPtr<Document> createDocument(const String& mimeType, const DocumentInit&, bool forceXHTML);
static PassRefPtrWillBeRawPtr<DOMWindow> create(LocalFrame& frame)
{
return adoptRefWillBeRefCountedGarbageCollected(new DOMWindow(frame));
}
virtual ~DOMWindow();
- PassRefPtr<Document> installNewDocument(const String& mimeType, const DocumentInit&, bool forceXHTML = false);
+ PassRefPtrWillBeRawPtr<Document> installNewDocument(const String& mimeType, const DocumentInit&, bool forceXHTML = false);
virtual const AtomicString& interfaceName() const OVERRIDE;
virtual ExecutionContext* executionContext() const OVERRIDE;
@@ -343,7 +343,7 @@ enum PageshowEventPersistence {
void resetDOMWindowProperties();
void willDestroyDocumentInFrame();
- RefPtr<Document> m_document;
+ RefPtrWillBeMember<Document> m_document;
bool m_shouldPrintWhenFinishedLoading;
#if ASSERT_ENABLED

Powered by Google App Engine
This is Rietveld 408576698