Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
index 819ace7776132c6ccaba7948693bf14abd17dd32..b9b920bfb1d569214a519f8e2c0c5ca4d1656a44 100644 |
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
@@ -427,7 +427,7 @@ void WebFrameWidgetImpl::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)); |
} |
} |
} |