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

Unified Diff: pkg/shadow_dom/lib/src/platform/patches-shadowdom-polyfill-before.js

Issue 158083002: introduce web_components pkg for consolidated polyfills (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: pkg/shadow_dom/lib/src/platform/patches-shadowdom-polyfill-before.js
diff --git a/pkg/shadow_dom/lib/src/platform/patches-shadowdom-polyfill-before.js b/pkg/shadow_dom/lib/src/platform/patches-shadowdom-polyfill-before.js
deleted file mode 100644
index fe15015bdc9fb3188437619a398b0fc3529220e8..0000000000000000000000000000000000000000
--- a/pkg/shadow_dom/lib/src/platform/patches-shadowdom-polyfill-before.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright 2013 The Polymer Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style
- * license that can be found in the LICENSE file.
- */
-(function() {
- // TODO(jmesserly): fix dart:html to use unprefixed name
- if (Element.prototype.webkitCreateShadowRoot) {
- Element.prototype.webkitCreateShadowRoot = function() {
- return window.ShadowDOMPolyfill.wrapIfNeeded(this).createShadowRoot();
- };
- }
-})();

Powered by Google App Engine
This is Rietveld 408576698