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 = |