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

Unified Diff: src/harmony-sharedarraybuffer.js

Issue 1161553002: Fix harmony-sharedarraybuffer implementation. (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. 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-sharedarraybuffer.js
diff --git a/src/harmony-sharedarraybuffer.js b/src/harmony-sharedarraybuffer.js
index 9843e79a2896d98da54ea6c9109adfdbd2a370b5..4ebfaadb2a6f739361563150a6ffdf0cdc1dd5a2 100644
--- a/src/harmony-sharedarraybuffer.js
+++ b/src/harmony-sharedarraybuffer.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-(function(global, shared, exports) {
+(function(global, utils) {
"use strict";
@@ -46,10 +46,10 @@ function SharedArrayBufferIsViewJS(obj) {
%AddNamedProperty(GlobalSharedArrayBuffer.prototype,
symbolToStringTag, "SharedArrayBuffer", DONT_ENUM | READ_ONLY);
-$installGetter(GlobalSharedArrayBuffer.prototype, "byteLength",
- SharedArrayBufferGetByteLen);
+utils.InstallGetter(GlobalSharedArrayBuffer.prototype, "byteLength",
+ SharedArrayBufferGetByteLen);
-$installFunctions(GlobalSharedArrayBuffer, DONT_ENUM, [
+utils.InstallFunctions(GlobalSharedArrayBuffer, DONT_ENUM, [
"isView", SharedArrayBufferIsViewJS
]);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698