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

Unified Diff: Source/core/rendering/RenderFileUploadControl.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/page/EventHandler.cpp ('k') | Source/core/rendering/RenderSearchField.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderFileUploadControl.cpp
diff --git a/Source/core/rendering/RenderFileUploadControl.cpp b/Source/core/rendering/RenderFileUploadControl.cpp
index 1e07ba72b830590649f2a703142e225d41a812c9..80b56e39ceb0f0de16f92b6b5e950cb473b9df34 100644
--- a/Source/core/rendering/RenderFileUploadControl.cpp
+++ b/Source/core/rendering/RenderFileUploadControl.cpp
@@ -148,7 +148,7 @@ HTMLInputElement* RenderFileUploadControl::uploadButton() const
{
// FIXME: This should be on HTMLInputElement as an API like innerButtonElement().
HTMLInputElement* input = toHTMLInputElement(node());
- Node* buttonNode = input->userAgentShadowRoot()->firstChild();
+ Node* buttonNode = input->closedShadowRoot()->firstChild();
return isHTMLInputElement(buttonNode) ? toHTMLInputElement(buttonNode) : 0;
}
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/core/rendering/RenderSearchField.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698