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

Unified Diff: Source/web/WebPageSerializerImpl.cpp

Issue 280123002: Oilpan: move LiveNodeList collections to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have NodeRareData clear out NodeListsNodeData instead. 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
« no previous file with comments | « Source/web/WebPageSerializer.cpp ('k') | Source/web/tests/TouchActionTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPageSerializerImpl.cpp
diff --git a/Source/web/WebPageSerializerImpl.cpp b/Source/web/WebPageSerializerImpl.cpp
index 1d9878beb7001de230221579868519dde7edf03b..126b38feeb991c2f237563f4dbc836733e834124 100644
--- a/Source/web/WebPageSerializerImpl.cpp
+++ b/Source/web/WebPageSerializerImpl.cpp
@@ -473,9 +473,9 @@ void WebPageSerializerImpl::collectTargetFrames()
// Get current using document.
Document* currentDoc = currentFrame->frame()->document();
// Go through sub-frames.
- RefPtr<HTMLCollection> all = currentDoc->all();
+ RefPtrWillBeRawPtr<HTMLCollection> all = currentDoc->all();
- for (unsigned i = 0; Element* element = all->item(i); i++) {
+ for (unsigned i = 0; Element* element = all->item(i); ++i) {
if (!element->isHTMLElement())
continue;
WebLocalFrameImpl* webFrame =
« no previous file with comments | « Source/web/WebPageSerializer.cpp ('k') | Source/web/tests/TouchActionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698