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

Unified Diff: Source/core/testing/GCObservation.cpp

Issue 23601032: Pass isolate to ScopedPersistent constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update deprecated generator as well Created 7 years, 3 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
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);

Powered by Google App Engine
This is Rietveld 408576698