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

Unified Diff: third_party/WebKit/Source/core/layout/line/BreakingContext.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/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 fbb93d05e8e1ee772e0a6117e46d6590518ebab3..f680ad1190e5d1a8feaacf2c4ca254bbac1c2833 100644
--- a/third_party/WebKit/Source/core/layout/line/BreakingContext.cpp
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContext.cpp
@@ -31,7 +31,8 @@ InlineIterator BreakingContext::handleEndOfLine() {
(!m_lineBreak.getLineLayoutItem() ||
!m_lineBreak.getLineLayoutItem().isBR())) {
// we just add as much as possible
- if (m_blockStyle->whiteSpace() == EWhiteSpace::Pre && !m_current.offset()) {
+ if (m_blockStyle->whiteSpace() == EWhiteSpace::kPre &&
+ !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