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

Unified Diff: frog/corejs.dart

Issue 10210016: Revert "Make CanvasPixelArray pretent to be Uint8ClampedArray" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
Index: frog/corejs.dart
diff --git a/frog/corejs.dart b/frog/corejs.dart
index 1e416c72f75b44368fc0ed81b6f2272d43a6ff25..c82ec8b267ad038724846cecc9074a2b594851ea 100644
--- a/frog/corejs.dart
+++ b/frog/corejs.dart
@@ -426,7 +426,6 @@ $defProp(Object.prototype, '$typeNameOf', (function() {
function chrome$typeNameOf() {
var name = this.constructor.name;
if (name == 'Window') return 'DOMWindow';
- if (name == 'CanvasPixelArray') return 'Uint8ClampedArray';
return name;
}
« no previous file with comments | « client/tests/client/html/CanvasPixelArrayTypeAliasTest.dart ('k') | lib/compiler/implementation/lib/native_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698