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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp

Issue 1405823002: DevTools: extract Blink-independent part of CPU profiler into V8ProfilerAgent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check if client is present before calling its methods Created 5 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: third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp
diff --git a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp
index f6c31aaae3009d1e34fe0dd811b7665036b69216..31822eae3de4d3ea29f1560037f24bd0f7b6af50 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp
+++ b/third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp
@@ -136,7 +136,7 @@ WorkerInspectorController::WorkerInspectorController(WorkerGlobalScope* workerGl
m_agents.append(workerDebuggerAgent.release());
v8::Isolate* isolate = workerGlobalScope->thread()->isolate();
- m_agents.append(InspectorProfilerAgent::create(isolate, m_injectedScriptManager.get(), 0));
+ m_agents.append(InspectorProfilerAgent::create(isolate, 0));
m_agents.append(InspectorHeapProfilerAgent::create(isolate, m_injectedScriptManager.get()));
OwnPtrWillBeRawPtr<WorkerConsoleAgent> workerConsoleAgent = WorkerConsoleAgent::create(m_injectedScriptManager.get(), workerGlobalScope);

Powered by Google App Engine
This is Rietveld 408576698