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

Unified Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp

Issue 1715653002: Fix non-Oilpan ref pointer usage over DOMTokenLists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/HTMLLinkElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
index c5886a788b3cdb8fe1465bbf8a67f90793a0db0c..f2d48d63321d305f1a9461d87877c6668b4e2cca 100644
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
@@ -149,7 +149,7 @@ inline HTMLLinkElement::HTMLLinkElement(Document& document, bool createdByParser
: HTMLElement(linkTag, document)
, m_linkLoader(LinkLoader::create(this))
, m_sizes(DOMTokenList::create(this))
- , m_relList(RelList::create(this))
+ , m_relList(RelList::create(this).leakRef())
, m_createdByParser(createdByParser)
, m_isInShadowTree(false)
{
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.h ('k') | third_party/WebKit/Source/core/html/RelList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698