-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: InspectorRuntimeAgent should not depend on Page https://bugs.webkit.org/show_bug.cgi?id=57759 Descendants of InspectorRuntimeAgent should implement a method providing access to the default inspected state used for console evaluations. * inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent): runtime agent is created and deleted along with other agents. (WebCore::InspectorAgent::setFrontend): * inspector/InspectorAgent.h: * inspector/InspectorRuntimeAgent.cpp: (WebCore::InspectorRuntimeAgent::create): (WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent): (WebCore::InspectorRuntimeAgent::evaluate): * inspector/InspectorRuntimeAgent.h: (WebCore::InspectorRuntimeAgent::InspectedStateProvider::~InspectedStateProvider): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3a661699