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

Unified Diff: src/v8.cc

Issue 429203002: Turn ASSERTs in platform setup releated code into CHECKs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« 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/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index cc08d2f2bb2187b77a5d62513e75ca0425a7f439..470c2dc6a54fdc14583b261fb7820f62d6d9751b 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -99,14 +99,14 @@ void V8::InitializeOncePerProcess() {
void V8::InitializePlatform(v8::Platform* platform) {
- ASSERT(!platform_);
- ASSERT(platform);
+ CHECK(!platform_);
+ CHECK(platform);
platform_ = platform;
}
void V8::ShutdownPlatform() {
- ASSERT(platform_);
+ CHECK(platform_);
platform_ = NULL;
}
« 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