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

Unified Diff: Source/web/WebPageSerializer.cpp

Issue 334713006: Use stricter typing for NodeLists throughout the code base (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 6 years, 6 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: Source/web/WebPageSerializer.cpp
diff --git a/Source/web/WebPageSerializer.cpp b/Source/web/WebPageSerializer.cpp
index 1ae99cfd559e679070140281a8ee32023108e0bc..07a14c5cf53881e415abe71a8957e15589766975 100644
--- a/Source/web/WebPageSerializer.cpp
+++ b/Source/web/WebPageSerializer.cpp
@@ -139,7 +139,7 @@ void retrieveResourcesForFrame(LocalFrame* frame,
frameURLs->append(frameURL);
// Now get the resources associated with each node of the document.
- RefPtrWillBeRawPtr<HTMLCollection> allElements = frame->document()->all();
+ RefPtrWillBeRawPtr<HTMLAllCollection> allElements = frame->document()->all();
for (unsigned i = 0; i < allElements->length(); ++i) {
Element* element = allElements->item(i);
retrieveResourcesForElement(element,

Powered by Google App Engine
This is Rietveld 408576698