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 d3e2316b7d9d07b321510422282b33c21bbcdf0f..791129db6e320d1cc45a50a9a5aab41876386fbd 100644 |
--- a/third_party/WebKit/Source/platform/DragImage.cpp |
+++ b/third_party/WebKit/Source/platform/DragImage.cpp |
@@ -287,7 +287,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)); |