| Index: LayoutTests/inspector/profiler/cpu-profiler-profile-removal.html
|
| diff --git a/LayoutTests/inspector/profiler/cpu-profiler-profile-removal.html b/LayoutTests/inspector/profiler/cpu-profiler-profile-removal.html
|
| index 1a10a2df8d2b7f13c2c86c8c0cf7837a0cd38522..d372f0ce13cd8a12d81dee1b2fec212773557129 100644
|
| --- a/LayoutTests/inspector/profiler/cpu-profiler-profile-removal.html
|
| +++ b/LayoutTests/inspector/profiler/cpu-profiler-profile-removal.html
|
| @@ -18,7 +18,7 @@ function test()
|
| InspectorTest.startProfilerTest(function() {
|
| function viewLoaded(view) {
|
| var profiles = WebInspector.panels.profiles;
|
| - var type = profiles.getProfileType("CPU");
|
| + var type = WebInspector.ProfileTypeRegistry.instance.cpuProfileType;
|
| while (type.getProfiles().length !== 0)
|
| type.removeProfile(type.getProfiles()[0]);
|
| InspectorTest.addResult("Profile groups after removal:");
|
|
|