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

Unified Diff: third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.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/core/html/HTMLImageFallbackHelper.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp b/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp
index 1ff6278ae79eebb7032824063de1591ec8ad66a4..cbf51fab17b89ccfaa1729635cf7c3415b19a1bc 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp
@@ -116,8 +116,8 @@ PassRefPtr<ComputedStyle> HTMLImageFallbackHelper::customStyleForAltText(
// image for the element's writing direction.
brokenImage->setInlineStyleProperty(
CSSPropertyFloat,
- AtomicString(newStyle->direction() == TextDirection::Ltr ? "left"
- : "right"));
+ AtomicString(newStyle->direction() == TextDirection::kLtr ? "left"
+ : "right"));
// This is an <img> with no attributes, so don't display anything.
if (noImageSourceSpecified(element) &&

Powered by Google App Engine
This is Rietveld 408576698