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

Unified Diff: pkg/shadow_dom/tool/build/if-poly.js

Issue 24251016: Revert "Dart2js support for custom element lifecycle events" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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/tool/build/if-poly.js
diff --git a/pkg/shadow_dom/tool/build/if-poly.js b/pkg/shadow_dom/tool/build/if-poly.js
index 98e59bccd3e2bfb7b957502e825b936452de6ec1..7503d653851789e15f451468779b6077619bb610 100644
--- a/pkg/shadow_dom/tool/build/if-poly.js
+++ b/pkg/shadow_dom/tool/build/if-poly.js
@@ -1,2 +1,3 @@
-if ((!HTMLElement.prototype.createShadowRoot) ||
+if ((!HTMLElement.prototype.createShadowRoot &&
+ !HTMLElement.prototype.webkitCreateShadowRoot) ||
window.__forceShadowDomPolyfill) {
« no previous file with comments | « pkg/shadow_dom/lib/src/platform/patches-shadowdom-polyfill.js ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698