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

Unified Diff: LayoutTests/fast/dom/shadow/resources/shadow-dom.js

Issue 14594006: Remove Internals::createShadowRoot(element) and polyfill.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « LayoutTests/fast/dom/shadow/resources/polyfill.js ('k') | LayoutTests/fast/dom/shadow/shadow-on-image.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/resources/shadow-dom.js
diff --git a/LayoutTests/fast/dom/shadow/resources/shadow-dom.js b/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
index c2e14bdfe37b4d0dfd6de5de6fa726d4df732bcd..1cc1b5ecacaea7e4c1c1d16795845f85e8d23ace 100644
--- a/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
+++ b/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
@@ -26,11 +26,7 @@ function createDOM(tagName, attributes)
var child = childElements[i];
if (child.isShadowRoot) {
++shadowRootCount;
- var shadowRoot;
- if (element.webkitCreateShadowRoot)
- shadowRoot = element.webkitCreateShadowRoot(element);
- else
- shadowRoot = internals.createShadowRoot(element);
+ var shadowRoot = element.webkitCreateShadowRoot(element);
if (child.attributes) {
for (var attribute in child.attributes) {
// Shadow Root does not have setAttribute.
« no previous file with comments | « LayoutTests/fast/dom/shadow/resources/polyfill.js ('k') | LayoutTests/fast/dom/shadow/shadow-on-image.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698