diff options
Diffstat (limited to 'third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp')
-rw-r--r-- | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp index 2ab6038..0f533fb 100644 --- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp +++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp @@ -656,16 +656,6 @@ void WebDevToolsAgentImpl::paintPageOverlay(WebCanvas* canvas) } } -WebVector<WebMemoryUsageInfo> WebDevToolsAgentImpl::processMemoryDistribution() const -{ - HashMap<String, size_t> memoryInfo = m_webViewImpl->page()->inspectorController()->processMemoryDistribution(); - WebVector<WebMemoryUsageInfo> memoryInfoVector((size_t)memoryInfo.size()); - size_t i = 0; - for (HashMap<String, size_t>::const_iterator it = memoryInfo.begin(); it != memoryInfo.end(); ++it) - memoryInfoVector[i++] = WebMemoryUsageInfo(it->key, it->value); - return memoryInfoVector; -} - void WebDevToolsAgentImpl::highlight() { m_webViewImpl->addPageOverlay(this, OverlayZOrders::highlight); |