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

Unified Diff: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate

Issue 1914643002: Update to new Webkit additions for custom elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update to latest WebKit changes Created 4 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 | « tools/dom/scripts/generate_blink_file.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
index 7c14df1f18800ee2754966106829e019f66331d0..4a95f9a4071f7d572d1f2a3c5fc069b2b633359b 100644
--- a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
+++ b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
@@ -380,6 +380,10 @@ $else
js.JsNative.setProperty(elemProto, 'createdCallback', js.allowInteropCaptureThis(($this) {
// The created callback has already been called by the very act of passing a JS
// custom element from JS to Dart.
Jacob 2016/04/25 14:54:12 this previous comment says something conflicting a
+
+ // Make element's interceptor a CustomElementClass.
+ _blink.Blink_Utils.setInstanceInterceptorCustomUpgrade($this);
+
if (oldCreatedCallback != null)
oldCreatedCallback.apply([], thisArg: $this);
}));
« no previous file with comments | « tools/dom/scripts/generate_blink_file.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698