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

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

Issue 2797253005: Revert of [instrumentation] Turn inspector override "probes" return values into output parameters. (Closed)
Patch Set: Created 3 years, 8 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/InspectorWorkerAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
index d2fedb28222ec7838977dfdfb73a2369292a9713..ec4dc34bce80a66e73ae831e41df39fead849736 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
@@ -112,10 +112,10 @@
idProxy.value->writeTimelineStartedEvent(sessionId);
}
-void InspectorWorkerAgent::shouldWaitForDebuggerOnWorkerStart(bool* result) {
- if (autoAttachEnabled() &&
- m_state->booleanProperty(WorkerAgentState::waitForDebuggerOnStart, false))
- *result = true;
+bool InspectorWorkerAgent::shouldWaitForDebuggerOnWorkerStart() {
+ return autoAttachEnabled() &&
+ m_state->booleanProperty(WorkerAgentState::waitForDebuggerOnStart,
+ false);
}
void InspectorWorkerAgent::didStartWorker(WorkerInspectorProxy* proxy,

Powered by Google App Engine
This is Rietveld 408576698