summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/PerformanceTests/ShadowDOM/ContentReprojection.html
diff options
context:
space:
mode:
authorhayato@chromium.org <hayato@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-03-31 16:39:32 +0000
committerhayato@chromium.org <hayato@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-03-31 16:39:32 +0000
commitcf55aa70fe315674c6229b20077202a69624de47 (patch)
tree7b4ff4e253fbdeb0652f6fc84e63bd910a98eafe /third_party/WebKit/PerformanceTests/ShadowDOM/ContentReprojection.html
parent267354a40879b760e5527f45f9a103629f981b98 (diff)
downloadchromium_src-cf55aa70fe315674c6229b20077202a69624de47.zip
chromium_src-cf55aa70fe315674c6229b20077202a69624de47.tar.gz
chromium_src-cf55aa70fe315674c6229b20077202a69624de47.tar.bz2
Re-landing r170008, removing prefixed Shadow DOM APIs in Element.
The previous attempt, https://codereview.chromium.org/208503004, was reverted in https://codereview.chromium.org/212303005/. The reason of reverting is that there is a JavaScript code uses prefixed Shadow DOM API in the chromium side. I've fixed that in https://codereview.chromium.org/214093002/. Let me re-land r170008. I hope it won't break anything this time. BUG=242153 Review URL: https://codereview.chromium.org/218943003 git-svn-id: svn://svn.chromium.org/blink/trunk@170460 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/PerformanceTests/ShadowDOM/ContentReprojection.html')
-rw-r--r--third_party/WebKit/PerformanceTests/ShadowDOM/ContentReprojection.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/PerformanceTests/ShadowDOM/ContentReprojection.html b/third_party/WebKit/PerformanceTests/ShadowDOM/ContentReprojection.html
index 28cfee4..9ecef55 100644
--- a/third_party/WebKit/PerformanceTests/ShadowDOM/ContentReprojection.html
+++ b/third_party/WebKit/PerformanceTests/ShadowDOM/ContentReprojection.html
@@ -25,11 +25,11 @@ function setup()
host.appendChild(div);
}
- var shadowRoot = host.webkitCreateShadowRoot();
+ var shadowRoot = host.createShadowRoot();
shadowRoot.innerHTML = '<div id="host2"><content></content></div>';
var host2 = shadowRoot.getElementById('host2');
- var shadowRoot2 = host2.webkitCreateShadowRoot();
+ var shadowRoot2 = host2.createShadowRoot();
shadowRoot2.innerHTML = '<content select=".selected"></content>';
}