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

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

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. Created 5 years, 11 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/page/TouchAdjustment.cpp
diff --git a/Source/core/page/TouchAdjustment.cpp b/Source/core/page/TouchAdjustment.cpp
index 5ab56fb839fb46b57426a8e9bf150b1f60df6122..ab6acd1229d5ef8664a978a33194966e7f4291b0 100644
--- a/Source/core/page/TouchAdjustment.cpp
+++ b/Source/core/page/TouchAdjustment.cpp
@@ -94,7 +94,7 @@ bool nodeRespondsToTapGesture(Node* node)
if (element->childrenOrSiblingsAffectedByActive() || element->childrenOrSiblingsAffectedByHover())
return true;
}
- if (RenderStyle* renderStyle = node->renderStyle()) {
+ if (const RenderStyle* renderStyle = node->renderStyle()) {
if (renderStyle->affectedByActive() || renderStyle->affectedByHover())
return true;
}

Powered by Google App Engine
This is Rietveld 408576698