Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index a6ff52ca2fce9f7625b5830777d14516917bdb6c..43069676838e68123f400b2e78ac7d4c38dadac3 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -560,8 +560,8 @@ void V8::MakeWeak(i::Object** object, |
} |
-void V8::ClearWeak(i::Object** obj) { |
- i::GlobalHandles::ClearWeakness(obj); |
+void* V8::ClearWeak(i::Object** obj) { |
+ return i::GlobalHandles::ClearWeakness(obj); |
} |