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

Unified Diff: Source/core/inspector/InspectorInstrumentation.cpp

Issue 645693003: [DevTools] Console Message Storage moved from top local frame to frame host (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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: Source/core/inspector/InspectorInstrumentation.cpp
diff --git a/Source/core/inspector/InspectorInstrumentation.cpp b/Source/core/inspector/InspectorInstrumentation.cpp
index a5a8a77b002b2b69710c45db968e40d848909b43..81164924bb1d61bf03567e215b44794f9bcc584e 100644
--- a/Source/core/inspector/InspectorInstrumentation.cpp
+++ b/Source/core/inspector/InspectorInstrumentation.cpp
@@ -33,6 +33,7 @@
#include "core/events/EventTarget.h"
#include "core/fetch/FetchInitiatorInfo.h"
+#include "core/frame/FrameHost.h"
#include "core/inspector/InspectorCSSAgent.h"
#include "core/inspector/InspectorConsoleAgent.h"
#include "core/inspector/InspectorController.h"
@@ -228,6 +229,11 @@ InstrumentingAgents* instrumentingAgentsFor(WorkerGlobalScope* workerGlobalScope
return instrumentationForWorkerGlobalScope(workerGlobalScope);
}
+InstrumentingAgents* instrumentingAgentsFor(FrameHost* host)
+{
+ return instrumentationForPage(&host->page());
Charlie Reis 2014/10/15 17:09:17 This might be ok for now, but there's a comment on
Charlie Reis 2014/10/15 17:17:41 (And to be clear, nothing needs to change for this
+}
+
InstrumentingAgents* instrumentingAgentsForNonDocumentContext(ExecutionContext* context)
{
if (context->isWorkerGlobalScope())

Powered by Google App Engine
This is Rietveld 408576698