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

Unified Diff: Source/web/WebFormElement.cpp

Issue 280123002: Oilpan: move LiveNodeList collections to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Pre-emptively GC a long runnning test 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
Index: Source/web/WebFormElement.cpp
diff --git a/Source/web/WebFormElement.cpp b/Source/web/WebFormElement.cpp
index 196b12c0463d997ea3bdb4c0f56ee8c162ee7a52..8f04244e9d23ef1155f684030cef668eefda4976 100644
--- a/Source/web/WebFormElement.cpp
+++ b/Source/web/WebFormElement.cpp
@@ -78,7 +78,7 @@ void WebFormElement::submit()
void WebFormElement::getNamedElements(const WebString& name,
WebVector<WebNode>& result)
{
- Vector<RefPtr<Element> > tempVector;
+ WillBeHeapVector<RefPtrWillBeMember<Element> > tempVector;
unwrap<HTMLFormElement>()->getNamedElements(name, tempVector);
#if ENABLE(OILPAN)
// FIXME: The second argument of HTMLFormElement::getNamedElements should be
tkent 2014/05/13 11:20:37 We can resolve this FIXME.
sof 2014/05/15 09:23:24 Done, but the type conversions needed to be able t

Powered by Google App Engine
This is Rietveld 408576698