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

Unified Diff: Source/core/html/forms/SearchInputType.cpp

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests Created 5 years, 10 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
« no previous file with comments | « Source/core/html/forms/RangeInputType.cpp ('k') | Source/core/html/forms/TextFieldInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/SearchInputType.cpp
diff --git a/Source/core/html/forms/SearchInputType.cpp b/Source/core/html/forms/SearchInputType.cpp
index e09e938df8559ab947f63b3d424a13150e4c0f7d..bf8c00fa029a9883500569413d732c8e9ca56767 100644
--- a/Source/core/html/forms/SearchInputType.cpp
+++ b/Source/core/html/forms/SearchInputType.cpp
@@ -81,7 +81,7 @@ void SearchInputType::createShadowSubtree()
{
TextFieldInputType::createShadowSubtree();
Element* container = containerElement();
- Element* viewPort = element().userAgentShadowRoot()->getElementById(ShadowElementNames::editingViewPort());
+ Element* viewPort = element().closedShadowRoot()->getElementById(ShadowElementNames::editingViewPort());
ASSERT(container);
ASSERT(viewPort);
@@ -157,7 +157,7 @@ void SearchInputType::updateView()
void SearchInputType::updateCancelButtonVisibility()
{
- Element* button = element().userAgentShadowRoot()->getElementById(ShadowElementNames::clearButton());
+ Element* button = element().closedShadowRoot()->getElementById(ShadowElementNames::clearButton());
if (!button)
return;
if (element().value().isEmpty()) {
« no previous file with comments | « Source/core/html/forms/RangeInputType.cpp ('k') | Source/core/html/forms/TextFieldInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698