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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.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/LayoutBlockFlowLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
index ca737a21a17e1fcccb022e4968656e8b8321fb56..46e94f452b875caac46a725053240b33749485e5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
@@ -99,7 +99,7 @@ class ExpansionOpportunities {
RELEASE_ASSERT(opportunitiesInRun <= m_totalOpportunities);
// Don't justify for white-space: pre.
- if (r->m_lineLayoutItem.style()->whiteSpace() != PRE) {
+ if (r->m_lineLayoutItem.style()->whiteSpace() != EWhiteSpace::Pre) {
InlineTextBox* textBox = toInlineTextBox(r->m_box);
RELEASE_ASSERT(m_totalOpportunities);
int expansion = ((availableLogicalWidth - totalLogicalWidth) *
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698