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

Unified Diff: third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp

Issue 1857713004: DevTools: simplify the async instrumentation harness. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/inspector/PageDebuggerAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp b/third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp
index 21f1629c879035db39ad83eda9539d4d0e115f52..b30bdf11f1c8290c5f23906662ea70a7fe210242 100644
--- a/third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp
@@ -35,7 +35,6 @@
#include "core/dom/Document.h"
#include "core/frame/FrameConsole.h"
#include "core/frame/LocalFrame.h"
-#include "core/inspector/AsyncCallTracker.h"
#include "core/inspector/InspectedFrames.h"
#include "core/inspector/InspectorInstrumentation.h"
#include "core/inspector/InspectorTraceEvents.h"
@@ -106,12 +105,4 @@ void PageDebuggerAgent::didStartProvisionalLoad(LocalFrame* frame)
}
}
-void PageDebuggerAgent::didClearDocumentOfWindowObject(LocalFrame* frame)
-{
- // FIXME: what about nested objects?
- if (frame != m_inspectedFrames->root())
- return;
- m_asyncCallTracker->resetAsyncOperations();
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698