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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutText.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/layout/LayoutText.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
index 23ccbf0b5b6e46b4a8a9c87e885174e19b14f83d..a9ee24e75b8780537e5ceabc1b923e9a3775df45 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
@@ -1340,7 +1340,7 @@ void LayoutText::computePreferredLogicalWidths(
if (!styleToUse.autoWrap())
m_minWidth = m_maxWidth;
- if (styleToUse.whiteSpace() == PRE) {
+ if (styleToUse.whiteSpace() == EWhiteSpace::Pre) {
if (firstLine)
m_firstLineMinWidth = m_maxWidth;
m_lastLineLineMinWidth = currMaxWidth;

Powered by Google App Engine
This is Rietveld 408576698