| Index: third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp b/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| index 9705409c388c8ad938f5256111bbb4928a6bd27c..e578147d818d6c5adfce99d7761876ee7ad4d738 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| @@ -271,6 +271,9 @@ void ImageInputType::ensurePrimaryContent()
|
| if (!m_useFallbackContent)
|
| return;
|
| m_useFallbackContent = false;
|
| + if (ShadowRoot* root = element().userAgentShadowRoot())
|
| + root->removeChildren();
|
| + createShadowSubtree();
|
| reattachFallbackContent();
|
| }
|
|
|
|
|