| Index: Source/core/inspector/InspectorConsoleAgent.h
|
| diff --git a/Source/core/inspector/InspectorConsoleAgent.h b/Source/core/inspector/InspectorConsoleAgent.h
|
| index 550d2951044e323afdf7107a99677d704424c5f9..d6fbe39e3412c29aba99291c4fa455a1ecfef359 100644
|
| --- a/Source/core/inspector/InspectorConsoleAgent.h
|
| +++ b/Source/core/inspector/InspectorConsoleAgent.h
|
| @@ -57,10 +57,10 @@ class ThreadableLoaderClient;
|
|
|
| typedef String ErrorString;
|
|
|
| -class InspectorConsoleAgent : public InspectorBaseAgent<InspectorConsoleAgent>, public InspectorBackendDispatcher::ConsoleCommandHandler {
|
| +class InspectorConsoleAgent : public InspectorBaseAgent, public InspectorBackendDispatcher::ConsoleCommandHandler {
|
| WTF_MAKE_NONCOPYABLE(InspectorConsoleAgent);
|
| public:
|
| - InspectorConsoleAgent(InstrumentingAgents*, InspectorCompositeState*, InjectedScriptManager*);
|
| + InspectorConsoleAgent(InstrumentingAgents*, InspectorState*, InjectedScriptManager*);
|
| virtual ~InspectorConsoleAgent();
|
|
|
| virtual void enable(ErrorString*);
|
| @@ -114,6 +114,12 @@ private:
|
| static int s_enabledAgentCount;
|
| };
|
|
|
| +class InspectorConsoleFactory : public InspectorBaseFactory<InspectorConsoleFactory, InspectorConsoleAgent> {
|
| +protected:
|
| + InspectorConsoleFactory(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* compositeState)
|
| + : InspectorBaseFactory<InspectorConsoleFactory, InspectorConsoleAgent>("Console", instrumentingAgents, compositeState) { }
|
| +};
|
| +
|
| } // namespace WebCore
|
|
|
|
|
|
|