Reviewers: Michael Achenbach (OOO), Yang,

Description:
Removed DCHECK to allow external code to check if v8 platform is initialized. DCHECK is not nessesary here, becase any V8::GetCurrentPlatform()-> would crash
anyway.

BUG=403851

Please review this at https://codereview.chromium.org/476913002/

SVN Base: https://chromium.googlesource.com/external/v8.git@master

Affected files (+0, -1 lines):
  M src/v8.cc


Index: src/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index 13a576b1c94d7ef1974aa0f7c30a58210c4c31c4..f7f217989564dab79c7195f09bc7f1cfbb079eea 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -116,7 +116,6 @@ void V8::ShutdownPlatform() {


 v8::Platform* V8::GetCurrentPlatform() {
-  DCHECK(platform_);
   return platform_;
 }



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to