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

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

Issue 2411583002: bindings: Stop passing ExceptionState to callback function (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 8ff8102fd24a824e2324c27c2794e73c0fb15f31..8db13bbb06710efbc6e5325942cbcc37cd15eb7c 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
@@ -90,10 +90,7 @@ void PerformanceObserver::deliver() {
performanceEntries.swap(m_performanceEntries);
PerformanceObserverEntryList* entryList =
new PerformanceObserverEntryList(performanceEntries);
- // TODO(bashi): Make sure that not throwing exception is OK.
- TrackExceptionState exceptionState;
-
- m_callback->call(m_scriptState.get(), this, exceptionState, entryList, this);
+ m_callback->call(m_scriptState.get(), this, entryList, this);
}
DEFINE_TRACE(PerformanceObserver) {

Powered by Google App Engine
This is Rietveld 408576698