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

Unified Diff: Source/core/html/imports/HTMLImport.cpp

Issue 394463003: Oilpan: have HTMLImport::recalcTreeState() use on-heap local variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/imports/HTMLImport.cpp
diff --git a/Source/core/html/imports/HTMLImport.cpp b/Source/core/html/imports/HTMLImport.cpp
index 4726f7132355c1c9006e6bc4d2adb695e1ec7cc4..58b17f75c752f8676a28b3de89d3e0fc83faed20 100644
--- a/Source/core/html/imports/HTMLImport.cpp
+++ b/Source/core/html/imports/HTMLImport.cpp
@@ -87,8 +87,8 @@ void HTMLImport::stateDidChange()
void HTMLImport::recalcTreeState(HTMLImport* root)
{
- HashMap<HTMLImport*, HTMLImportState> snapshot;
- Vector<HTMLImport*> updated;
+ WillBeHeapHashMap<RawPtrWillBeMember<HTMLImport>, HTMLImportState> snapshot;
+ WillBeHeapVector<RawPtrWillBeMember<HTMLImport> > updated;
for (HTMLImport* i = root; i; i = traverseNext(i)) {
snapshot.add(i, i->state());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698