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