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

Unified Diff: tools/dom/templates/html/dart2js/impl_URL.darttemplate

Issue 18277003: "Reverting 24655" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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/systemhtml.py ('k') | tools/dom/templates/html/impl/impl_AudioNode.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/dart2js/impl_URL.darttemplate
diff --git a/tools/dom/templates/html/dart2js/impl_URL.darttemplate b/tools/dom/templates/html/dart2js/impl_URL.darttemplate
index 569da56f1187a94d4106630b3e342c795e11eaca..a484c346d2159cda66366a6a063f90a4999fc51c 100644
--- a/tools/dom/templates/html/dart2js/impl_URL.darttemplate
+++ b/tools/dom/templates/html/dart2js/impl_URL.darttemplate
@@ -9,16 +9,7 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
static String createObjectUrl(blob_OR_source_OR_stream) =>
JS('String',
'(self.URL || self.webkitURL).createObjectURL(#)',
- blob_OR_source_OR_stream);
-
- static String createObjectUrlFromSource(MediaSource source) =>
- JS('String', '(self.URL || self.webkitURL).createObjectURL(#)', source);
-
- static String createObjectUrlFromStream(MediaStream stream) =>
- JS('String', '(self.URL || self.webkitURL).createObjectURL(#)', stream);
-
- static String createObjectUrlFromBlob(Blob blob) =>
- JS('String', '(self.URL || self.webkitURL).createObjectURL(#)', blob);
+ blob_OR_source_OR_stream);
static void revokeObjectUrl(String url) =>
JS('void',
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | tools/dom/templates/html/impl/impl_AudioNode.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698