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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.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/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index d1c5f99454c92fcc0afca68a6a31b76a164f570f..c1881acbdf23baf48014f04feebc86a1023e4cf0 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -1470,7 +1470,7 @@ void LayoutBlock::computeBlockPreferredLogicalWidths(
LayoutUnit& minLogicalWidth,
LayoutUnit& maxLogicalWidth) const {
const ComputedStyle& styleToUse = styleRef();
- bool nowrap = styleToUse.whiteSpace() == NOWRAP;
+ bool nowrap = styleToUse.whiteSpace() == EWhiteSpace::Nowrap;
LayoutObject* child = firstChild();
LayoutBlock* containingBlock = this->containingBlock();

Powered by Google App Engine
This is Rietveld 408576698