Index: third_party/WebKit/Source/core/input/EventHandler.cpp |
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp |
index 1e59d1a2f147c397d241e6fca16c0b26de944ed6..333702e8d60512850dad98d1352bf352768a1342 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp |
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp |
@@ -548,7 +548,7 @@ bool EventHandler::useHandCursor(Node* node, bool isOverLink) |
if (!node) |
return false; |
- return ((isOverLink || isSubmitImage(node)) && !node->hasEditableStyle()); |
+ return ((isOverLink || isSubmitImage(node)) && !hasEditableStyle(*node)); |
} |
void EventHandler::cursorUpdateTimerFired(Timer<EventHandler>*) |
@@ -735,7 +735,7 @@ OptionalCursor EventHandler::selectCursor(const HitTestResult& result) |
OptionalCursor EventHandler::selectAutoCursor(const HitTestResult& result, Node* node, const Cursor& iBeam) |
{ |
- bool editable = (node && node->hasEditableStyle()); |
+ bool editable = (node && hasEditableStyle(*node)); |
const bool isOverLink = !selectionController().mouseDownMayStartSelect() && result.isOverLink(); |
if (useHandCursor(node, isOverLink)) |