| Index: third_party/WebKit/Source/core/exported/WebSelection.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebSelection.cpp b/third_party/WebKit/Source/core/exported/WebSelection.cpp
|
| similarity index 97%
|
| rename from third_party/WebKit/Source/web/WebSelection.cpp
|
| rename to third_party/WebKit/Source/core/exported/WebSelection.cpp
|
| index 5b4582764e21778fb96f9bc5d3fe3760575b61bb..1992cd9b0551f557c13cc675e9fcc4e521a04953 100644
|
| --- a/third_party/WebKit/Source/web/WebSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/exported/WebSelection.cpp
|
| @@ -19,12 +19,13 @@ static WebSelectionBound GetWebSelectionBound(
|
|
|
| WebSelectionBound::Type type = WebSelectionBound::kCaret;
|
| if (selection.type == kRangeSelection) {
|
| - if (is_start)
|
| + if (is_start) {
|
| type = bound.is_text_direction_rtl ? WebSelectionBound::kSelectionRight
|
| : WebSelectionBound::kSelectionLeft;
|
| - else
|
| + } else {
|
| type = bound.is_text_direction_rtl ? WebSelectionBound::kSelectionLeft
|
| : WebSelectionBound::kSelectionRight;
|
| + }
|
| }
|
|
|
| WebSelectionBound result(type);
|
|
|