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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 270573008: Oilpan: Prepare to support garbage-collected Node in WebNode hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add FIXME comments 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 | « no previous file | Source/web/WebDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index 4e8c2bbd2c2534fe570895ff3917bfced9da9bf7..1b07f7c28eb2ffeb042873dc411f559fb1b49c0b 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -852,7 +852,7 @@ void ChromeClientImpl::didAssociateFormControls(const Vector<RefPtr<Element> >&
WebVector<WebNode> elementVector(static_cast<size_t>(elements.size()));
size_t elementsCount = elements.size();
for (size_t i = 0; i < elementsCount; ++i)
- elementVector[i] = elements[i];
+ elementVector[i] = elements[i].get();
m_webView->autofillClient()->didAssociateFormControls(elementVector);
}
« no previous file with comments | « no previous file | Source/web/WebDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698