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

Unified Diff: tonic/float32_list.cc

Issue 1244983003: Make mojo dart controller depend on tonic and get building without wtf (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
« tonic/dart_converter.h ('K') | « tonic/dart_wrappable.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« tonic/dart_converter.h ('K') | « tonic/dart_wrappable.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698