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

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

Issue 1936593002: [DevTools] Remove state from v8 agent wrappers, remove unnecessary classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-everything-from-agents
Patch Set: rebased Created 4 years, 7 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/InspectorHeapProfilerAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h
index 7914c35ebb5faf75e8efc5555a7daef8161f8107..052c99084c2929ed3cbccb5d13e47d9e94107181 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h
@@ -45,7 +45,7 @@ class V8HeapProfilerAgent;
class CORE_EXPORT InspectorHeapProfilerAgent final : public InspectorBaseAgent<InspectorHeapProfilerAgent, protocol::Frontend::HeapProfiler>, public protocol::Backend::HeapProfiler {
WTF_MAKE_NONCOPYABLE(InspectorHeapProfilerAgent);
public:
- static InspectorHeapProfilerAgent* create(V8HeapProfilerAgent*);
+ explicit InspectorHeapProfilerAgent(V8HeapProfilerAgent*);
~InspectorHeapProfilerAgent() override;
// InspectorBaseAgent overrides.
@@ -66,8 +66,6 @@ public:
void stopSampling(ErrorString*, OwnPtr<protocol::HeapProfiler::SamplingHeapProfile>*) override;
private:
- explicit InspectorHeapProfilerAgent(V8HeapProfilerAgent*);
-
V8HeapProfilerAgent* m_v8HeapProfilerAgent;
};

Powered by Google App Engine
This is Rietveld 408576698