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

Unified Diff: lib/dom/templates/html/dartium/html_dartium.darttemplate

Issue 10444027: Copy nativewrappers to dart-sdk directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | « lib/config/import_dartium.config ('k') | tools/create_sdk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/templates/html/dartium/html_dartium.darttemplate
diff --git a/lib/dom/templates/html/dartium/html_dartium.darttemplate b/lib/dom/templates/html/dartium/html_dartium.darttemplate
index 30b44010869e1111330533000e550859878601cd..2ae7d5bad789ee0db99d655cdd0bcdfc338f95c6 100644
--- a/lib/dom/templates/html/dartium/html_dartium.darttemplate
+++ b/lib/dom/templates/html/dartium/html_dartium.darttemplate
@@ -68,11 +68,13 @@ _DocumentImpl get _document() {
}
_unwrap(raw) {
+ return raw;
return raw is _DOMTypeBase ? raw._ptr : raw;
}
// Warning: does not attempt wrap event listeners.
_wrap(raw) {
+ return raw;
if (raw is! _DOMWrapperBase) return raw;
_DOMWrapperBase domObject = raw;
if (domObject.dartObjectLocalStorage != null)
« no previous file with comments | « lib/config/import_dartium.config ('k') | tools/create_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698