Index: third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h |
index 9f552d3198f24d1c13cbff0d1a0eaae9ff42497a..af556bb1dc1bcdf508da45422100b93247448ea0 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h |
+++ b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h |
@@ -44,6 +44,7 @@ class LocalFrame; |
using protocol::ErrorString; |
using protocol::Maybe; |
+using protocol::Response; |
class CORE_EXPORT InspectorAgent |
: public GarbageCollectedFinalized<InspectorAgent> { |
@@ -85,11 +86,8 @@ class InspectorBaseAgent : public InspectorAgent, |
} |
} |
- void disable(ErrorString*) override {} |
- |
void dispose() override { |
- ErrorString error; |
- disable(&error); |
+ DomainMetainfo::BackendClass::disableMe(this); |
m_frontend.reset(); |
m_state = nullptr; |
m_instrumentingAgents = nullptr; |