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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceObserver.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/PerformanceObserver.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
index 9e40cd1d37dff1124ee9104030ac84c62e65fc47..bbd92920cba7868293214fec83a66ae4715cc663 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
@@ -90,7 +90,7 @@ void PerformanceObserver::deliver() {
performanceEntries.swap(m_performanceEntries);
PerformanceObserverEntryList* entryList =
new PerformanceObserverEntryList(performanceEntries);
- m_callback->call(m_scriptState.get(), this, entryList, this);
+ m_callback->call(this, entryList, this);
}
DEFINE_TRACE(PerformanceObserver) {

Powered by Google App Engine
This is Rietveld 408576698