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

Side by Side Diff: gin/array_buffer.cc

Issue 1541743002: Switch to standard integer types in gin/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « gin/array_buffer.h ('k') | gin/converter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h>
5 #include <stdlib.h> 6 #include <stdlib.h>
6 7
7 #include "base/logging.h" 8 #include "base/logging.h"
8 #include "gin/array_buffer.h" 9 #include "gin/array_buffer.h"
9 #include "gin/per_isolate_data.h" 10 #include "gin/per_isolate_data.h"
10 11
11 namespace gin { 12 namespace gin {
12 13
13 namespace { 14 namespace {
14 15
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 bool Converter<ArrayBufferView>::FromV8(v8::Isolate* isolate, 196 bool Converter<ArrayBufferView>::FromV8(v8::Isolate* isolate,
196 v8::Local<v8::Value> val, 197 v8::Local<v8::Value> val,
197 ArrayBufferView* out) { 198 ArrayBufferView* out) {
198 if (!val->IsArrayBufferView()) 199 if (!val->IsArrayBufferView())
199 return false; 200 return false;
200 *out = ArrayBufferView(isolate, v8::Local<v8::ArrayBufferView>::Cast(val)); 201 *out = ArrayBufferView(isolate, v8::Local<v8::ArrayBufferView>::Cast(val));
201 return true; 202 return true;
202 } 203 }
203 204
204 } // namespace gin 205 } // namespace gin
OLDNEW
« no previous file with comments | « gin/array_buffer.h ('k') | gin/converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698