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

Unified Diff: third_party/WebKit/Source/core/layout/TextAutosizer.cpp

Issue 2569013006: Changed EOverflow to an enum class and renamed its members (Closed)
Patch Set: Rebase Created 4 years 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/TextAutosizer.cpp
diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
index 61cc389f4821d01b822528cf4d3c1408b13495dc..3de5d5f1182ddf959451ac212379af1856ec20dc 100644
--- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
+++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
@@ -236,7 +236,7 @@ static bool blockHeightConstrained(const LayoutBlock* block) {
// the content is already overflowing before autosizing kicks in.
for (; block; block = block->containingBlock()) {
const ComputedStyle& style = block->styleRef();
- if (style.overflowY() >= OverflowScroll)
+ if (style.overflowY() >= EOverflow::Scroll)
return false;
if (style.height().isSpecified() || style.maxHeight().isSpecified() ||
block->isOutOfFlowPositioned()) {

Powered by Google App Engine
This is Rietveld 408576698