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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp

Issue 2890023003: [IndexedDB] Adding async tracing for renderer calls. (Closed)
Patch Set: test fix Created 3 years, 7 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/modules/indexeddb/InspectorIndexedDBAgent.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
index 61434cea0c3a0c63bd55a810bbbe88dfa7b89232..ce7d8f4906615b42355fd71e8be77453adc7a19a 100644
--- a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
@@ -566,7 +566,8 @@ class OpenCursorCallback final : public EventListener {
// Continue cursor before making injected script calls, otherwise
// transaction might be finished.
DummyExceptionStateForTesting exception_state;
- idb_cursor->Continue(nullptr, nullptr, exception_state);
+ idb_cursor->Continue(nullptr, nullptr, exception_state,
+ IDBRequest::AsyncTraceState());
if (exception_state.HadException()) {
request_callback_->sendFailure(
Response::Error("Could not continue cursor."));

Powered by Google App Engine
This is Rietveld 408576698