Index: Source/web/WebDocument.cpp |
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp |
index c4d158b97a92db416780983d580c0dbfb67585d1..d67630d9743bf1c721cd10459ac1e24ff7f3da8b 100644 |
--- a/Source/web/WebDocument.cpp |
+++ b/Source/web/WebDocument.cpp |
@@ -159,7 +159,7 @@ WebElementCollection WebDocument::all() |
void WebDocument::images(WebVector<WebElement>& results) |
{ |
- RefPtr<HTMLCollection> images = unwrap<Document>()->images(); |
+ RefPtrWillBeRawPtr<HTMLCollection> images = unwrap<Document>()->images(); |
size_t sourceLength = images->length(); |
Vector<WebElement> temp; |
temp.reserveCapacity(sourceLength); |
@@ -173,7 +173,7 @@ void WebDocument::images(WebVector<WebElement>& results) |
void WebDocument::forms(WebVector<WebFormElement>& results) const |
{ |
- RefPtr<HTMLCollection> forms = const_cast<Document*>(constUnwrap<Document>())->forms(); |
+ RefPtrWillBeRawPtr<HTMLCollection> forms = const_cast<Document*>(constUnwrap<Document>())->forms(); |
size_t sourceLength = forms->length(); |
Vector<WebFormElement> temp; |
temp.reserveCapacity(sourceLength); |