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

Unified Diff: Source/core/rendering/RenderMenuList.cpp

Issue 24773003: Rename Node::attached() to confusingAndOftenMisusedAttached() (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
« no previous file with comments | « Source/core/rendering/RenderCounter.cpp ('k') | Source/core/svg/SVGTests.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderMenuList.cpp
diff --git a/Source/core/rendering/RenderMenuList.cpp b/Source/core/rendering/RenderMenuList.cpp
index df13d20cc8e101ba41f924fa1ba5e3c83c1241e1..f81c8e328c393cc1cfb8fad1bb748516e5c57f53 100644
--- a/Source/core/rendering/RenderMenuList.cpp
+++ b/Source/core/rendering/RenderMenuList.cpp
@@ -387,7 +387,7 @@ void RenderMenuList::didUpdateActiveOption(int optionIndex)
HTMLElement* listItem = select->listItems()[listIndex];
ASSERT(listItem);
- if (listItem->attached()) {
+ if (listItem->confusingAndOftenMisusedAttached()) {
if (AccessibilityMenuList* menuList = toAccessibilityMenuList(document().axObjectCache()->get(this)))
menuList->didUpdateActiveOption(optionIndex);
}
« no previous file with comments | « Source/core/rendering/RenderCounter.cpp ('k') | Source/core/svg/SVGTests.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698