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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html

Issue 2721663005: [DevTools] Access cpu profiler only when JS capability is present. (Closed)
Patch Set: rebased Created 3 years, 10 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/LayoutTests/inspector/tracing/trace-event-self-time.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html b/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html
index 64e408d44d34139697a71f321627db1aaec26339..6bc552f711878a216637ac57256c89795de917ea 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html
@@ -287,7 +287,7 @@ function test()
};
var timelineController = InspectorTest.timelineController();
- timelineController._addCpuProfile(SDK.targetManager.mainTarget().id(), null, cpuProfile);
+ timelineController._addCpuProfile(SDK.targetManager.mainTarget().id(), cpuProfile);
timelineController.traceEventsCollected(rawTraceEvents);
timelineController._finalizeTrace();
var events = timelineController._performanceModel.timelineModel().inspectedTargetEvents();

Powered by Google App Engine
This is Rietveld 408576698