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

Unified Diff: third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h

Issue 2653123002: Changed EClear to an enum class and renamed its members (Closed)
Patch Set: Rebase 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/BreakingContextInlineHeaders.h
diff --git a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
index 21638f79e860bc178d19f999cc7c932379f36636..e329fe305bb462f196fbec2da629da6641911711 100644
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
@@ -406,7 +406,7 @@ inline void BreakingContext::handleBR(EClear& clear) {
// A <br> with clearance always needs a linebox in case the lines below it
// get dirtied later and need to check for floats to clear - so if we're
// ignoring spaces, stop ignoring them and add a run for this object.
- if (m_ignoringSpaces && m_currentStyle->clear() != ClearNone)
+ if (m_ignoringSpaces && m_currentStyle->clear() != EClear::kNone)
ensureLineBoxInsideIgnoredSpaces(&m_lineMidpointState, br);
if (!m_lineInfo.isEmpty())

Powered by Google App Engine
This is Rietveld 408576698