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 b5481838464c7a5f293401b00d00f0f4d9783db6..6f6b7e8593375ec6a0c524f98a0f02aef52646c1 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -2295,7 +2295,7 @@ void WebViewImpl::setFocus(bool enable) |
// instead. Note that this has the side effect of moving the |
// caret back to the beginning of the text. |
Position position(element, 0); |
- focusedFrame->selection().setSelection(VisibleSelection(position, SEL_DEFAULT_AFFINITY)); |
+ focusedFrame->selection().setSelection(VisibleSelection(position, SelDefaultAffinity)); |
} |
} |
} |