| Index: third_party/WebKit/Source/platform/DragImage.cpp
|
| diff --git a/third_party/WebKit/Source/platform/DragImage.cpp b/third_party/WebKit/Source/platform/DragImage.cpp
|
| index 76047fa1191388a8bbb0f14ebdb1b5f0d92815c1..2521f81cedfba74a14507332f3015ae8f9ad2cf1 100644
|
| --- a/third_party/WebKit/Source/platform/DragImage.cpp
|
| +++ b/third_party/WebKit/Source/platform/DragImage.cpp
|
| @@ -291,7 +291,7 @@ std::unique_ptr<DragImage> DragImage::create(const KURL& url,
|
| IntPoint textPos(
|
| kDragLabelBorderX,
|
| kDragLabelBorderY + labelFont.getFontDescription().computedPixelSize());
|
| - if (hasStrongDirectionality && textRun.direction() == RTL) {
|
| + if (hasStrongDirectionality && textRun.direction() == TextDirection::Rtl) {
|
| float textWidth = labelFont.width(textRun);
|
| int availableWidth = imageSize.width() - kDragLabelBorderX * 2;
|
| textPos.setX(availableWidth - ceilf(textWidth));
|
|
|