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

Unified Diff: third_party/WebKit/Source/core/loader/PrerenderHandle.h

Issue 1862593005: Prerender need to be on the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/PrerenderHandle.h
diff --git a/third_party/WebKit/Source/core/loader/PrerenderHandle.h b/third_party/WebKit/Source/core/loader/PrerenderHandle.h
index 97a7392acd3a000ebb3680efeafafc05ac7cb283..f57d647e1f4d6eaf7cc969703a424f612e682990 100644
--- a/third_party/WebKit/Source/core/loader/PrerenderHandle.h
+++ b/third_party/WebKit/Source/core/loader/PrerenderHandle.h
@@ -59,13 +59,14 @@ public:
void documentWasDetached() override;
DECLARE_VIRTUAL_TRACE();
+ EAGERLY_FINALIZE();
private:
- PrerenderHandle(Document&, PassRefPtr<Prerender>);
+ PrerenderHandle(Document&, Prerender*);
void detach();
- RefPtr<Prerender> m_prerender;
+ Member<Prerender> m_prerender;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698