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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.h

Issue 1937033002: Fix crash in CSSStyleSheetResource::appendData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move CSSPreloaderResourceClient to the Oilpan heap, make it a ResourceOwner 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/html/parser/HTMLResourcePreloader.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.h b/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.h
index 49b57dcd2d4dd3e08e96e2270773b8e1b642e2aa..bbdcc9096705e01a90c7f922db6b0395a1acc2d0 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.h
@@ -51,7 +51,7 @@ private:
explicit HTMLResourcePreloader(Document&);
Member<Document> m_document;
- HashSet<OwnPtr<CSSPreloaderResourceClient>> m_cssPreloaders;
+ HeapVector<Member<CSSPreloaderResourceClient>> m_cssPreloaders;
Nate Chapin 2016/05/03 20:52:13 Why not HeapHashSet?
Charlie Harrison 2016/05/04 13:26:36 I don't think it's necessary, so I just went with
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698