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

Unified Diff: Source/web/WebDevToolsAgentImpl.cpp

Issue 898593002: DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed assertion Created 5 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
« no previous file with comments | « Source/core/storage/StorageArea.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDevToolsAgentImpl.cpp
diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp
index 7b0c2201963d37d3b702cac3569baf7736d3e2f7..078cb1ab11280a84d934cff71449c9ce225d9e83 100644
--- a/Source/web/WebDevToolsAgentImpl.cpp
+++ b/Source/web/WebDevToolsAgentImpl.cpp
@@ -112,14 +112,14 @@ private:
, m_messageLoop(messageLoop) { }
- virtual void run(Page* page)
+ virtual void run(LocalFrame* frame)
{
if (m_running)
return;
m_running = true;
// 0. Flush pending frontend messages.
- WebViewImpl* viewImpl = WebViewImpl::fromPage(page);
+ WebViewImpl* viewImpl = WebViewImpl::fromPage(frame->page());
WebDevToolsAgentImpl* agent = static_cast<WebDevToolsAgentImpl*>(viewImpl->devToolsAgent());
agent->flushPendingProtocolNotifications();
« no previous file with comments | « Source/core/storage/StorageArea.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698