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

Unified Diff: Source/core/page/EventHandler.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/layout/style/LayoutStyle.cpp ('k') | Source/core/page/TouchAdjustment.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/EventHandler.cpp
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
index 2da13ecbec963d691a431cbbcd55ad5c41b5b19f..e103fb510349f56c0979f3406a63833a32767b50 100644
--- a/Source/core/page/EventHandler.cpp
+++ b/Source/core/page/EventHandler.cpp
@@ -1055,7 +1055,7 @@ OptionalCursor EventHandler::selectCursor(const HitTestResult& result)
return selectAutoCursor(result, node, iBeamCursor());
LayoutObject* renderer = node->renderer();
- LayoutStyle* style = renderer ? renderer->style() : nullptr;
+ const LayoutStyle* style = renderer ? renderer->style() : nullptr;
if (renderer) {
Cursor overrideCursor;
« no previous file with comments | « Source/core/layout/style/LayoutStyle.cpp ('k') | Source/core/page/TouchAdjustment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698