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

Unified Diff: Source/core/html/forms/BaseButtonInputType.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
Index: Source/core/html/forms/BaseButtonInputType.cpp
diff --git a/Source/core/html/forms/BaseButtonInputType.cpp b/Source/core/html/forms/BaseButtonInputType.cpp
index cfec082b597610a4a5c7ccaf2b3f9243afabc638..c3aa5eb45c5703a6e27bfedd2a959059ace0b162 100644
--- a/Source/core/html/forms/BaseButtonInputType.cpp
+++ b/Source/core/html/forms/BaseButtonInputType.cpp
@@ -44,13 +44,13 @@ using namespace HTMLNames;
void BaseButtonInputType::createShadowSubtree()
{
- ASSERT(element().userAgentShadowRoot());
- element().userAgentShadowRoot()->appendChild(Text::create(element().document(), element().valueWithDefault()));
+ ASSERT(element().closedShadowRoot());
+ element().closedShadowRoot()->appendChild(Text::create(element().document(), element().valueWithDefault()));
}
void BaseButtonInputType::valueAttributeChanged()
{
- toText(element().userAgentShadowRoot()->firstChild())->setData(element().valueWithDefault());
+ toText(element().closedShadowRoot()->firstChild())->setData(element().valueWithDefault());
}
bool BaseButtonInputType::shouldSaveAndRestoreFormControlState() const
« no previous file with comments | « Source/core/html/HTMLVideoElement.cpp ('k') | Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698