Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(921)

Unified Diff: third_party/WebKit/Source/platform/DragImage.cpp

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
« no previous file with comments | « third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp ('k') | third_party/WebKit/Source/platform/LengthBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698