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

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

Issue 2670643004: Rename EDisplay values with k prefix. (Closed)
Patch Set: Rebase Created 3 years, 9 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 246e8de7ecf84de884e772cc8cce2882717b1549..6670d076c1d3bd366faceb1231ad39d083dd57da 100644
--- a/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
@@ -228,9 +228,9 @@ void LayoutScrollbar::updateScrollbarPart(ScrollbarPart partType,
: PassRefPtr<ComputedStyle>(nullptr);
bool needLayoutObject =
- !destroy && partStyle && partStyle->display() != EDisplay::None;
+ !destroy && partStyle && partStyle->display() != EDisplay::kNone;
- if (needLayoutObject && partStyle->display() != EDisplay::Block) {
+ if (needLayoutObject && partStyle->display() != EDisplay::kBlock) {
// See if we are a button that should not be visible according to OS
// settings.
WebScrollbarButtonsPlacement buttonsPlacement = theme().buttonsPlacement();
« 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