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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.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/LayoutTextControlSingleLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
index b8a277b0e289b40a01db59766ae44357ca8f32be..9912a1d7a566320949a2c0ee5a835ba891ef7eed 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
@@ -332,9 +332,9 @@ PassRefPtr<ComputedStyle> LayoutTextControlSingleLine::createInnerEditorStyle(
if (inputElement()->shouldRevealPassword())
textBlockStyle->setTextSecurity(TSNONE);
- textBlockStyle->setOverflowX(OverflowScroll);
+ textBlockStyle->setOverflowX(EOverflow::Scroll);
// overflow-y:visible doesn't work because overflow-x:scroll makes a layer.
- textBlockStyle->setOverflowY(OverflowScroll);
+ textBlockStyle->setOverflowY(EOverflow::Scroll);
RefPtr<ComputedStyle> noScrollbarStyle = ComputedStyle::create();
noScrollbarStyle->setStyleType(PseudoIdScrollbar);
noScrollbarStyle->setDisplay(EDisplay::None);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTextControl.cpp ('k') | third_party/WebKit/Source/core/layout/TextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698