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

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

Issue 2370673002: Changed EDisplay to an enum class and renamed its members to be keywords (Closed)
Patch Set: Comment Created 4 years, 3 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/LayoutScrollbar.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp b/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
index 1bb828a6dab8639fef3b0a153d7c157a296892fb..eab29d2517cff54d22290c8f26c3f6c59e598242 100644
--- a/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
@@ -238,9 +238,9 @@ void LayoutScrollbar::updateScrollbarPart(ScrollbarPart partType, bool destroy)
RefPtr<ComputedStyle> partStyle = !destroy ? getScrollbarPseudoStyle(partType, pseudoForScrollbarPart(partType)) : PassRefPtr<ComputedStyle>(nullptr);
- bool needLayoutObject = !destroy && partStyle && partStyle->display() != NONE;
+ bool needLayoutObject = !destroy && partStyle && partStyle->display() != EDisplay::None;
- if (needLayoutObject && partStyle->display() != BLOCK) {
+ if (needLayoutObject && partStyle->display() != EDisplay::Block) {
// See if we are a button that should not be visible according to OS settings.
WebScrollbarButtonsPlacement buttonsPlacement = theme().buttonsPlacement();
switch (partType) {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698