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

Unified Diff: LayoutTests/inspector/profiler/cpu-profiler-save-load.html

Issue 235453008: DevTools: Extract CPU profile model out of CPUProfileView. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: LayoutTests/inspector/profiler/cpu-profiler-save-load.html
diff --git a/LayoutTests/inspector/profiler/cpu-profiler-save-load.html b/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
index ae86ecca2989f702160c22b2164b75a3fd079fb4..32359c47cb48b445020bd4b2441a59626f5eea4b 100644
--- a/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
+++ b/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
@@ -44,9 +44,9 @@ function test()
{
function waitForTempFile(view)
{
- InspectorTest.addSniffer(view.profile, "_writeToTempFile", saveProfileToFile.bind(this, view));
+ InspectorTest.addSniffer(view._profileHeader, "_writeToTempFile", saveProfileToFile.bind(this, view._profileHeader));
}
- function saveProfileToFile(view)
+ function saveProfileToFile(profile)
{
WebInspector.FileOutputStream = function() { }
WebInspector.FileOutputStream.prototype = {
@@ -81,7 +81,7 @@ function test()
}
}
- view.profile.saveToFile();
+ profile.saveToFile();
}
InspectorTest.showProfileWhenAdded("manual");
InspectorTest.waitUntilProfileViewIsShown("manual", waitForTempFile.bind(this));
« no previous file with comments | « LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html ('k') | LayoutTests/inspector/profiler/profiler-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698