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

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: Updated change after Doug's review. Created 5 years, 10 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/page/EventHandler.cpp ('k') | Source/core/rendering/RenderBlock.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 b8e202d65ec65d1eddd5d05a1c3c5482bf25f3df..49de69cb0a965ff6e59a2770d452fe051917b2d2 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 (LayoutStyle* layoutStyle = node->layoutStyle()) {
+ if (const LayoutStyle* layoutStyle = node->layoutStyle()) {
if (layoutStyle->affectedByActive() || layoutStyle->affectedByHover())
return true;
}
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698