Chromium Code Reviews| Index: tonic/float32_list.cc |
| diff --git a/tonic/float32_list.cc b/tonic/float32_list.cc |
| index 6bcfc7a4272585056830ea7993f99a174a4f68fd..b23d50e41172cb8b8cb305796de64c6278afc5ee 100644 |
| --- a/tonic/float32_list.cc |
| +++ b/tonic/float32_list.cc |
| @@ -2,6 +2,7 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| +#include "base/logging.h" |
| #include "tonic/dart_error.h" |
| #include "tonic/float32_list.h" |
| @@ -16,7 +17,7 @@ Float32List::Float32List(Dart_Handle list) |
| Dart_TypedDataAcquireData( |
| list, &type, reinterpret_cast<void**>(&data_), &num_elements_); |
| DCHECK(!LogIfError(list)); |
| - ASSERT(type == Dart_TypedData_kFloat32); |
| + CHECK(type == Dart_TypedData_kFloat32); |
|
abarth-chromium
2015/07/20 22:49:18
DCHECK
Cutch
2015/07/21 13:55:31
Done.
|
| } |
| Float32List::Float32List(Float32List&& other) |