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

Unified Diff: lib/dom/templates/html/dart2js/impl_Window.darttemplate

Issue 10913122: Revert "Implementing window.createObjectURL*" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « no previous file | lib/dom/templates/html/interface/interface_Window.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/templates/html/dart2js/impl_Window.darttemplate
diff --git a/lib/dom/templates/html/dart2js/impl_Window.darttemplate b/lib/dom/templates/html/dart2js/impl_Window.darttemplate
index f776d87ee5d4e6311955d89eee99d234e47e84bc..627f0b7b74baa056e906a6ff841ed2da121aa425 100644
--- a/lib/dom/templates/html/dart2js/impl_Window.darttemplate
+++ b/lib/dom/templates/html/dart2js/impl_Window.darttemplate
@@ -129,12 +129,5 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
localStorage['dart-port:$name'] = JSON.stringify(serialized);
}
- String createObjectUrl(object) native '''
- return (window.URL || window.webkitURL).createObjectURL(object)
- ''';
-
- void revokeObjectUrl(String objectUrl) native '''
- (window.URL || window.webkitURL).revokeObjectURL(objectUrl)
- ''';
$!MEMBERS
}
« no previous file with comments | « no previous file | lib/dom/templates/html/interface/interface_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698