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

Unified Diff: Source/core/html/HTMLKeygenElement.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/HTMLKeygenElement.h ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLKeygenElement.cpp
diff --git a/Source/core/html/HTMLKeygenElement.cpp b/Source/core/html/HTMLKeygenElement.cpp
index fa7a2cf765cbe086cf98a24bfe3799128d9995af..fd60c60163468de51563628f59f9cebe114b1bbb 100644
--- a/Source/core/html/HTMLKeygenElement.cpp
+++ b/Source/core/html/HTMLKeygenElement.cpp
@@ -52,11 +52,11 @@ HTMLKeygenElement::HTMLKeygenElement(Document& document, HTMLFormElement* form)
PassRefPtrWillBeRawPtr<HTMLKeygenElement> HTMLKeygenElement::create(Document& document, HTMLFormElement* form)
{
RefPtrWillBeRawPtr<HTMLKeygenElement> keygen = adoptRefWillBeNoop(new HTMLKeygenElement(document, form));
- keygen->ensureUserAgentShadowRoot();
+ keygen->ensureClosedShadowRoot();
return keygen.release();
}
-void HTMLKeygenElement::didAddUserAgentShadowRoot(ShadowRoot& root)
+void HTMLKeygenElement::didAddClosedShadowRoot(ShadowRoot& root)
{
DEFINE_STATIC_LOCAL(AtomicString, keygenSelectPseudoId, ("-webkit-keygen-select", AtomicString::ConstructFromLiteral));
@@ -112,7 +112,7 @@ void HTMLKeygenElement::resetImpl()
HTMLSelectElement* HTMLKeygenElement::shadowSelect() const
{
- ShadowRoot* root = userAgentShadowRoot();
+ ShadowRoot* root = closedShadowRoot();
return root ? toHTMLSelectElement(root->firstChild()) : 0;
}
« no previous file with comments | « Source/core/html/HTMLKeygenElement.h ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698