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

Unified Diff: lib/html/templates/html/dart2js/factoryprovider_DataView.darttemplate

Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Further fixes to dartium. 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
Index: lib/html/templates/html/dart2js/factoryprovider_DataView.darttemplate
diff --git a/lib/html/templates/html/dart2js/factoryprovider_DataView.darttemplate b/lib/html/templates/html/dart2js/factoryprovider_DataView.darttemplate
index c3d35a79a0cef039df2ff2577971057cb613cf70..c120b45a7a4d1eb7d04224b85be0bbc9eb4e31a4 100644
--- a/lib/html/templates/html/dart2js/factoryprovider_DataView.darttemplate
+++ b/lib/html/templates/html/dart2js/factoryprovider_DataView.darttemplate
@@ -3,8 +3,8 @@
// BSD-style license that can be found in the LICENSE file.
class $FACTORYPROVIDER {
- factory DataView(ArrayBuffer buffer,
- [int byteOffset = null, int byteLength = null])
+ static DataView createDataView(ArrayBuffer buffer,
+ [int byteOffset = null, int byteLength = null])
native '''
if (byteOffset == null) return new DataView(buffer);
if (byteLength == null) return new DataView(buffer, byteOffset);

Powered by Google App Engine
This is Rietveld 408576698