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

Side by Side Diff: sky/engine/tonic/float32_list.cc

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « sky/engine/tonic/dart_wrappable.cc ('k') | sky/engine/web/AssertMatchingEnums.cpp » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "sky/engine/config.h"
6 #include "sky/engine/tonic/dart_error.h" 5 #include "sky/engine/tonic/dart_error.h"
7 #include "sky/engine/tonic/float32_list.h" 6 #include "sky/engine/tonic/float32_list.h"
8 7
9 namespace blink { 8 namespace blink {
10 9
11 Float32List::Float32List(Dart_Handle list) 10 Float32List::Float32List(Dart_Handle list)
12 : data_(nullptr), num_elements_(0), dart_handle_(list) { 11 : data_(nullptr), num_elements_(0), dart_handle_(list) {
13 if (Dart_IsNull(list)) 12 if (Dart_IsNull(list))
14 return; 13 return;
15 14
(...skipping 22 matching lines...) Expand all
38 int index, 37 int index,
39 Dart_Handle& exception) { 38 Dart_Handle& exception) {
40 Dart_Handle list = Dart_GetNativeArgument(args, index); 39 Dart_Handle list = Dart_GetNativeArgument(args, index);
41 DCHECK(!LogIfError(list)); 40 DCHECK(!LogIfError(list));
42 41
43 Float32List result(list); 42 Float32List result(list);
44 return result; 43 return result;
45 } 44 }
46 45
47 } // namespace blink 46 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/tonic/dart_wrappable.cc ('k') | sky/engine/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698