Chromium Code Reviews

Unified Diff: src/arraybuffer.js

Issue 1126213002: Wrap runtime.js in a function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/array-iterator.js ('k') | src/ast-value-factory.h » ('j') | src/i18n.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arraybuffer.js
diff --git a/src/arraybuffer.js b/src/arraybuffer.js
index 11b3c46bc7a713f195aa36d6f461563da2a84f1e..a426b8220f3004d88edfb1bd0d2e52b579e39375 100644
--- a/src/arraybuffer.js
+++ b/src/arraybuffer.js
@@ -15,7 +15,7 @@ var GlobalObject = global.Object;
function ArrayBufferConstructor(length) { // length = 1
if (%_IsConstructCall()) {
- var byteLength = ToPositiveInteger(length, kInvalidArrayBufferLength);
+ var byteLength = $toPositiveInteger(length, kInvalidArrayBufferLength);
%ArrayBufferInitialize(this, byteLength);
} else {
throw MakeTypeError(kConstructorNotFunction, "ArrayBuffer");
« no previous file with comments | « src/array-iterator.js ('k') | src/ast-value-factory.h » ('j') | src/i18n.js » ('J')

Powered by Google App Engine