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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h

Issue 1601283003: DevTools: deoilpanize inspector/v8 and related classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed. Created 4 years, 11 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/InspectorConsoleAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h b/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h
index 3f2a42b8c24db02cfb64e29e4df0668dbc62138c..098fa878fd4ef2e97fa0aa17f76dbbf29cf4c10c 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h
@@ -45,7 +45,6 @@ class CORE_EXPORT InspectorConsoleAgent : public InspectorBaseAgent<InspectorCon
public:
explicit InspectorConsoleAgent(InjectedScriptManager*);
~InspectorConsoleAgent() override;
- DECLARE_VIRTUAL_TRACE();
void setDebuggerAgent(V8DebuggerAgent* debuggerAgent) { m_debuggerAgent = debuggerAgent; }
@@ -56,6 +55,7 @@ public:
void restore() final;
void addMessageToConsole(ConsoleMessage*);
+ void clearAllMessages();
void consoleMessagesCleared();
protected:
@@ -65,7 +65,7 @@ protected:
virtual void enableStackCapturingIfNeeded() = 0;
virtual void disableStackCapturingIfNeeded() = 0;
- RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
+ InjectedScriptManager* m_injectedScriptManager;
V8DebuggerAgent* m_debuggerAgent;
bool m_enabled;
};

Powered by Google App Engine
This is Rietveld 408576698