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: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2640713002: Standardize ECursor enum value names (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 00c8ca2d67c0f489f10c7ad4862100d0f336bb41..2120da4ad8293c86ab7ca230baa332796e8d65da 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -1392,7 +1392,7 @@ static Node* findCursorDefiningAncestor(Node* node, LocalFrame* frame) {
while (node) {
if (node->layoutObject()) {
ECursor cursor = node->layoutObject()->style()->cursor();
- if (cursor != ECursor::Auto ||
+ if (cursor != ECursor::kAuto ||
frame->eventHandler().useHandCursor(node, node->isLink()))
break;
}
@@ -1407,8 +1407,8 @@ static bool showsHandCursor(Node* node, LocalFrame* frame) {
return false;
ECursor cursor = node->layoutObject()->style()->cursor();
- return cursor == ECursor::Pointer ||
- (cursor == ECursor::Auto &&
+ return cursor == ECursor::kPointer ||
+ (cursor == ECursor::kAuto &&
frame->eventHandler().useHandCursor(node, node->isLink()));
}
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698