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(); |
} |