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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceObserverTest.cpp

Issue 2458573002: bindings: Store ScriptState in generated callback functions (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/Source/core/timing/PerformanceObserverTest.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceObserverTest.cpp b/third_party/WebKit/Source/core/timing/PerformanceObserverTest.cpp
index a8012f32b6ed2224d5158f8a45d8829e9e9af88e..bebd97c38c3b28b6e84b4c9796d9a8dceaea2f8e 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceObserverTest.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceObserverTest.cpp
@@ -28,8 +28,7 @@ class PerformanceObserverTest : public ::testing::Test {
v8::Local<v8::Function> callback =
v8::Function::New(scriptState->context(), nullptr).ToLocalChecked();
m_base = new MockPerformanceBase();
- m_cb =
- PerformanceObserverCallback::create(scriptState->isolate(), callback);
+ m_cb = PerformanceObserverCallback::create(scriptState, callback);
m_observer = PerformanceObserver::create(scriptState, m_base, m_cb);
}

Powered by Google App Engine
This is Rietveld 408576698