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

Unified Diff: Source/core/inspector/InspectorInstrumentationCustomInl.h

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/inspector/InspectorInstrumentation.idl ('k') | Source/core/inspector/InspectorLayerTreeAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorInstrumentationCustomInl.h
diff --git a/Source/core/inspector/InspectorInstrumentationCustomInl.h b/Source/core/inspector/InspectorInstrumentationCustomInl.h
index c81c1f5d8de5be8775b35b36477b0a0cd89e054e..943be80aea8d23a7656abdb9ec7250bfe0b489eb 100644
--- a/Source/core/inspector/InspectorInstrumentationCustomInl.h
+++ b/Source/core/inspector/InspectorInstrumentationCustomInl.h
@@ -54,10 +54,10 @@ inline bool isDebuggerPaused(LocalFrame* frame)
return false;
}
-inline bool collectingHTMLParseErrors(Page* page)
+inline bool collectingHTMLParseErrors(Document* document)
{
FAST_RETURN_IF_NO_FRONTENDS(false);
- if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(page))
+ if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(document))
return collectingHTMLParseErrorsImpl(instrumentingAgents);
return false;
}
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/core/inspector/InspectorLayerTreeAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698