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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.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/LayoutTextControlSingleLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
index f0ea86080a7dd1e9e301bbcf43ea7f5bdaf50658..4df2399655e0798c90b19b4a71e0f43f0fa26c23 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
@@ -326,7 +326,7 @@ PassRefPtr<ComputedStyle> LayoutTextControlSingleLine::createInnerEditorStyle(
logicalHeight.getFloatValue() > computedLineHeight))
textBlockStyle->setLineHeight(ComputedStyle::initialLineHeight());
- textBlockStyle->setDisplay(EDisplay::Block);
+ textBlockStyle->setDisplay(EDisplay::kBlock);
textBlockStyle->setUnique();
if (inputElement()->shouldRevealPassword())
@@ -337,7 +337,7 @@ PassRefPtr<ComputedStyle> LayoutTextControlSingleLine::createInnerEditorStyle(
textBlockStyle->setOverflowY(EOverflow::kScroll);
RefPtr<ComputedStyle> noScrollbarStyle = ComputedStyle::create();
noScrollbarStyle->setStyleType(PseudoIdScrollbar);
- noScrollbarStyle->setDisplay(EDisplay::None);
+ noScrollbarStyle->setDisplay(EDisplay::kNone);
textBlockStyle->addCachedPseudoStyle(noScrollbarStyle);
textBlockStyle->setHasPseudoStyle(PseudoIdScrollbar);

Powered by Google App Engine
This is Rietveld 408576698