Index: third_party/WebKit/Source/core/inspector/InspectorMemoryAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorMemoryAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorMemoryAgent.cpp |
index a77a2d7aca4331efcc4e79fa8da27348218a4299..4b9d75553f5ee6f664e261e312519b3f9cf317e0 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorMemoryAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorMemoryAgent.cpp |
@@ -36,15 +36,15 @@ namespace blink { |
InspectorMemoryAgent::~InspectorMemoryAgent() {} |
-void InspectorMemoryAgent::getDOMCounters(ErrorString*, |
- int* documents, |
- int* nodes, |
- int* jsEventListeners) { |
+Response InspectorMemoryAgent::getDOMCounters(int* documents, |
+ int* nodes, |
+ int* jsEventListeners) { |
*documents = |
InstanceCounters::counterValue(InstanceCounters::DocumentCounter); |
*nodes = InstanceCounters::counterValue(InstanceCounters::NodeCounter); |
*jsEventListeners = |
InstanceCounters::counterValue(InstanceCounters::JSEventListenerCounter); |
+ return Response::OK(); |
} |
InspectorMemoryAgent::InspectorMemoryAgent() = default; |