| Index: third_party/WebKit/LayoutTests/inspector/elements/styles-1/css-outline.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-1/css-outline.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-1/css-outline.html
|
| index 1590dd8a6a555eb066a5cc31f7a5b06fdf2495dc..91db7b90e0b0d8622ff6fa4271016a4dd871a841 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/elements/styles-1/css-outline.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-1/css-outline.html
|
| @@ -60,17 +60,17 @@ function getCSS()
|
|
|
| function test()
|
| {
|
| - function onStyleSheetParsed(rules)
|
| + function onRulesParsed(isLastChunk, rules)
|
| {
|
| for (var i = 0; i < rules.length; ++i)
|
| InspectorTest.addObject(rules[i]);
|
| - InspectorTest.completeTest();
|
| + if (isLastChunk)
|
| + InspectorTest.completeTest();
|
| }
|
|
|
| function onStyleFetched(result)
|
| {
|
| - var parser = new SDK.CSSParser();
|
| - parser.parse(result.value, onStyleSheetParsed);
|
| + Common.formatterWorkerPool.parseCSS(result.value, onRulesParsed);
|
| }
|
|
|
| InspectorTest.evaluateInPage("getCSS()", onStyleFetched);
|
|
|