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

Unified Diff: LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html

Issue 388303002: DevTools: Get rid of WebInspector.TargetObserver (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/devtools/front_end/profiler/CPUProfileFlameChart.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
diff --git a/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html b/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
index 40b6b98138ba03c358923c6146920de08699ac89..abd46637e3908558f3abac05744cc9ce7dcde4d0 100644
--- a/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
+++ b/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
@@ -814,6 +814,7 @@ function test()
for (var i = 0; i < profile.samples.length; ++i)
profile.timestamps.push(startTime + i * samplingInterval);
profileAndExpectations.target = function() {};
+ profileAndExpectations.weakTarget = function() { return new WeakReference(null);};
WebInspector.inspectorView.showPanel("profiles");
var cpuProfileView = new WebInspector.CPUProfileView(profileAndExpectations);
cpuProfileView.viewSelectComboBox.setSelectedIndex(0);
« no previous file with comments | « no previous file | Source/devtools/front_end/profiler/CPUProfileFlameChart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698