Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 9d4356c5140777598b0c67ebc3d293fc3bcacc37..5be9daf525cd8a32fb17b83648622653d13c8ad8 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -584,8 +584,8 @@ Local<Value> V8::GetEternal(Isolate* v8_isolate, int index) { |
} |
-void V8::CheckIsJust(bool is_just) { |
- Utils::ApiCheck(is_just, "v8::FromJust", "Maybe value is Nothing."); |
+void V8::FromJustIsNothing() { |
+ Utils::ApiCheck(false, "v8::FromJust", "Maybe value is Nothing."); |
} |