Index: Source/core/testing/GCObservation.cpp |
diff --git a/Source/core/testing/GCObservation.cpp b/Source/core/testing/GCObservation.cpp |
index 93176bd626391637483981f84a080da41e4d1654..90738d495bbda9dc577ad62f4f3ad7d23ca3f464 100644 |
--- a/Source/core/testing/GCObservation.cpp |
+++ b/Source/core/testing/GCObservation.cpp |
@@ -46,7 +46,7 @@ void GCObservation::setWasCollected() |
} |
GCObservation::GCObservation(v8::Handle<v8::Value> observedValue) |
- : m_observed(observedValue) |
+ : m_observed(v8::Isolate::GetCurrent(), observedValue) |
, m_collected(false) |
{ |
m_observed.makeWeak(this, makeWeakCallback); |