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

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: none 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 688951d87aef2fb023fe421f8ba35964e12967de..df2aee284ba6d6eb3324fbaea5393ae000a4b7e4 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(OverflowScroll);
textBlockStyle->setOverflowY(OverflowScroll);
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();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698