Index: src/js/array-iterator.js |
diff --git a/src/js/array-iterator.js b/src/js/array-iterator.js |
index b3e25e9adbe77b5d350921aadfe26572ed09e0a1..8203f1f9f5933e46727f4fab187c5e24665f2af2 100644 |
--- a/src/js/array-iterator.js |
+++ b/src/js/array-iterator.js |
@@ -22,7 +22,7 @@ var IteratorPrototype = utils.ImportNow("IteratorPrototype"); |
var iteratorSymbol = utils.ImportNow("iterator_symbol"); |
var MakeTypeError; |
var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
-var GlobalTypedArray = global.Uint8Array.__proto__; |
+var GlobalTypedArray = %object_get_prototype_of(global.Uint8Array); |
adamk
2016/05/06 17:56:12
Did we ever figure out why this had to change? It
Dan Ehrenberg
2016/05/06 18:09:33
From off-line communication, sounds like it didn't
adamk
2016/05/06 18:11:31
Sounds good, and I agree that this way of spelling
|
utils.Import(function(from) { |
MakeTypeError = from.MakeTypeError; |