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

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

Issue 1765933003: style: Rename the PseudoId enum values to CamelCase and prefix them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enum-clash-PseudoId: rebase Created 4 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 c952ca7a98902d9536f7397c8dfff3257a5592a4..2bd98fe5747a87f6acce36d708f6977b84c7eb38 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
@@ -286,10 +286,10 @@ PassRefPtr<ComputedStyle> LayoutTextControlSingleLine::createInnerEditorStyle(co
textBlockStyle->setOverflowX(OSCROLL);
textBlockStyle->setOverflowY(OSCROLL);
RefPtr<ComputedStyle> noScrollbarStyle = ComputedStyle::create();
- noScrollbarStyle->setStyleType(SCROLLBAR);
+ noScrollbarStyle->setStyleType(PseudoIdScrollbar);
noScrollbarStyle->setDisplay(NONE);
textBlockStyle->addCachedPseudoStyle(noScrollbarStyle);
- textBlockStyle->setHasPseudoStyle(SCROLLBAR);
+ textBlockStyle->setHasPseudoStyle(PseudoIdScrollbar);
return textBlockStyle.release();
}

Powered by Google App Engine
This is Rietveld 408576698