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

Unified Diff: third_party/WebKit/Source/core/layout/line/BreakingContext.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/line/BreakingContext.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/BreakingContext.cpp b/third_party/WebKit/Source/core/layout/line/BreakingContext.cpp
index 00e046cf7753f3c47ddd482e0ae07b9aa0f94a77..fbb93d05e8e1ee772e0a6117e46d6590518ebab3 100644
--- a/third_party/WebKit/Source/core/layout/line/BreakingContext.cpp
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContext.cpp
@@ -31,7 +31,7 @@ InlineIterator BreakingContext::handleEndOfLine() {
(!m_lineBreak.getLineLayoutItem() ||
!m_lineBreak.getLineLayoutItem().isBR())) {
// we just add as much as possible
- if (m_blockStyle->whiteSpace() == PRE && !m_current.offset()) {
+ if (m_blockStyle->whiteSpace() == EWhiteSpace::Pre && !m_current.offset()) {
m_lineBreak.moveTo(m_lastObject,
m_lastObject.isText() ? m_lastObject.length() : 0);
} else if (m_lineBreak.getLineLayoutItem()) {

Powered by Google App Engine
This is Rietveld 408576698