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

Unified Diff: Source/core/html/HTMLSelectElement.cpp

Issue 24430002: Rename attach and detach to createRenderTree/destroyRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/core/html/HTMLSelectElement.cpp
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp
index aae732033da0a5be49bb6f036089496b929b70bf..2e9867dab0503f560c42804d9beab4364a8de70b 100644
--- a/Source/core/html/HTMLSelectElement.cpp
+++ b/Source/core/html/HTMLSelectElement.cpp
@@ -305,7 +305,7 @@ void HTMLSelectElement::parseAttribute(const QualifiedName& name, const AtomicSt
m_size = size;
setNeedsValidityCheck();
if (m_size != oldSize && attached()) {
- lazyReattach();
+ scheduleRenderTreeReconstruction();
setRecalcListItems();
}
} else if (name == multipleAttr)
@@ -1001,7 +1001,7 @@ void HTMLSelectElement::parseMultipleAttribute(const AtomicString& value)
m_multiple = !value.isNull();
setNeedsValidityCheck();
if (oldUsesMenuList != usesMenuList())
- lazyReattachIfAttached();
+ scheduleRenderTreeRecreationIfAttached();
}
bool HTMLSelectElement::appendFormData(FormDataList& list, bool)

Powered by Google App Engine
This is Rietveld 408576698