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

Unified Diff: third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp

Issue 1624783002: DevTools: Switch to using fast stack iterator to collect stacks during timeline recording. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp
diff --git a/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp b/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp
index 43fac2a78dc5d3baa204b2da2c113f92cf3d3a4c..4bec159b911138e3891e44be029c21f2f2ab41dc 100644
--- a/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp
+++ b/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.cpp
@@ -18,7 +18,7 @@ PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorWebSocketCreateEvent::
value->setString("frame", toHexString(document->frame()));
if (!protocol.isNull())
value->setString("webSocketProtocol", protocol);
- setCallStack(value.get());
+ requestCallStackSample();
return value.release();
}
@@ -27,7 +27,7 @@ PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorWebSocketEvent::data(D
RefPtr<TracedValue> value = TracedValue::create();
value->setInteger("identifier", identifier);
value->setString("frame", toHexString(document->frame()));
- setCallStack(value.get());
+ requestCallStackSample();
return value.release();
}

Powered by Google App Engine
This is Rietveld 408576698