| Index: LayoutTests/inspector/elements/styles/styles-test.js
|
| diff --git a/LayoutTests/inspector/elements/styles/styles-test.js b/LayoutTests/inspector/elements/styles/styles-test.js
|
| index 4483c6cf721f3770a7a126023243976ecf87119c..a0fd9f14f5427df27acd15e90ed7853bb603645c 100644
|
| --- a/LayoutTests/inspector/elements/styles/styles-test.js
|
| +++ b/LayoutTests/inspector/elements/styles/styles-test.js
|
| @@ -3,18 +3,8 @@ function initialize_StylesTests()
|
|
|
| InspectorTest.waitForStylesheetsOnFrontend = function(styleSheetsCount, callback)
|
| {
|
| - function styleSheetComparator(a, b)
|
| - {
|
| - if (a.sourceURL < b.sourceURL)
|
| - return -1;
|
| - else if (a.sourceURL > b.sourceURL)
|
| - return 1;
|
| - return a.startLine - b.startLine || a.startColumn - b.startColumn;
|
| - }
|
| -
|
| var styleSheets = WebInspector.cssModel.allStyleSheets();
|
| if (styleSheets.length >= styleSheetsCount) {
|
| - styleSheets.sort(styleSheetComparator);
|
| callback(styleSheets);
|
| return;
|
| }
|
|
|