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

Unified Diff: third_party/WebKit/Source/core/dom/Text.cpp

Issue 2508743002: Changed EWhiteSpace to an enum class and renamed its members to keywords (Closed)
Patch Set: Small mac fix Created 4 years, 1 month 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/dom/Text.cpp
diff --git a/third_party/WebKit/Source/core/dom/Text.cpp b/third_party/WebKit/Source/core/dom/Text.cpp
index a8d3da8c39c28dd42514d1f5f82c1c6bc9140315..8c6d94d84da28da44e1804c14189c4dd5b893beb 100644
--- a/third_party/WebKit/Source/core/dom/Text.cpp
+++ b/third_party/WebKit/Source/core/dom/Text.cpp
@@ -274,7 +274,7 @@ bool Text::textLayoutObjectIsNeeded(const ComputedStyle& style,
return false;
// pre-wrap in SVG never makes layoutObject.
- if (style.whiteSpace() == PRE_WRAP && parent.isSVG())
+ if (style.whiteSpace() == EWhiteSpace::PreWrap && parent.isSVG())
return false;
// pre/pre-wrap/pre-line always make layoutObjects.

Powered by Google App Engine
This is Rietveld 408576698