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 2521f81cedfba74a14507332f3015ae8f9ad2cf1..ff095132d600bab6628d4bf82c7b6fcbba41bfff 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() == TextDirection::Rtl) { |
+ if (hasStrongDirectionality && textRun.direction() == TextDirection::kRtl) { |
float textWidth = labelFont.width(textRun); |
int availableWidth = imageSize.width() - kDragLabelBorderX * 2; |
textPos.setX(availableWidth - ceilf(textWidth)); |