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

Unified Diff: Source/core/page/TouchAdjustment.cpp

Issue 308683007: Rename childrenAffectedBy methods and constants. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Renamed as proposed. 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 | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/TouchAdjustment.cpp
diff --git a/Source/core/page/TouchAdjustment.cpp b/Source/core/page/TouchAdjustment.cpp
index 2eba2e839756fa81dd3c700dce91f7154578d811..c1e1aaea2a1cf76232ab9aac9e8c9e47fe91505f 100644
--- a/Source/core/page/TouchAdjustment.cpp
+++ b/Source/core/page/TouchAdjustment.cpp
@@ -76,7 +76,7 @@ bool nodeRespondsToTapGesture(Node* node)
if (element->isMouseFocusable())
return true;
// Accept nodes that has a CSS effect when touched.
- if (element->childrenAffectedByActive() || element->childrenAffectedByHover())
+ if (element->childrenOrSiblingsAffectedByActive() || element->childrenOrSiblingsAffectedByHover())
return true;
}
if (RenderStyle* renderStyle = node->renderStyle()) {
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698