| Index: LayoutTests/inspector/tracing/timeline-paint-with-style-recalc-invalidations.html
 | 
| diff --git a/LayoutTests/inspector/tracing/timeline-paint-with-style-recalc-invalidations.html b/LayoutTests/inspector/tracing/timeline-paint-with-style-recalc-invalidations.html
 | 
| index 9405a670ebd180bc3b90f13167ad12b59eb47929..e3ec16bbacc0e152b4e3f3a49f038b83e523e1ca 100644
 | 
| --- a/LayoutTests/inspector/tracing/timeline-paint-with-style-recalc-invalidations.html
 | 
| +++ b/LayoutTests/inspector/tracing/timeline-paint-with-style-recalc-invalidations.html
 | 
| @@ -42,25 +42,29 @@ function test()
 | 
|                  InspectorTest.assertEquals(invalidations[1].type, WebInspector.TracingTimelineModel.RecordType.StyleRecalcInvalidationTracking);
 | 
|                  InspectorTest.assertEquals(invalidations[1].nodeName, "DIV id='testElement'");
 | 
|                  InspectorTest.assertEquals(invalidations[1].reason, "StyleSheetChange");
 | 
| -                InspectorTest.invokeAsyncWithTimeline("updateSubframeAndDisplay", next);
 | 
| +
 | 
| +                next();
 | 
|              });
 | 
|          },
 | 
|  
 | 
|          function testSubframe(next)
 | 
|          {
 | 
| -            // The first paint corresponds to the local frame and should have no invalidations.
 | 
| -            var firstPaintRecord = InspectorTest.findFirstTimelineRecord(WebInspector.TimelineModel.RecordType.Paint);
 | 
| -            var firstInvalidations = firstPaintRecord._event.invalidationTrackingEvents;
 | 
| -            InspectorTest.assertEquals(firstInvalidations, undefined);
 | 
| +            InspectorTest.invokeAsyncWithTimeline("updateSubframeAndDisplay", function() {
 | 
| +                // The first paint corresponds to the local frame and should have no invalidations.
 | 
| +                var firstPaintRecord = InspectorTest.findFirstTimelineRecord(WebInspector.TimelineModel.RecordType.Paint);
 | 
| +                var firstInvalidations = firstPaintRecord._event.invalidationTrackingEvents;
 | 
| +                InspectorTest.assertEquals(firstInvalidations, undefined);
 | 
| +
 | 
| +                // The second paint corresponds to the subframe and should have our style invalidations.
 | 
| +                var secondPaintRecord = InspectorTest.findTimelineRecord(WebInspector.TimelineModel.RecordType.Paint, 1);
 | 
| +                var secondInvalidations = secondPaintRecord._event.invalidationTrackingEvents;
 | 
| +                InspectorTest.assertEquals(secondInvalidations.length, 1);
 | 
| +                InspectorTest.assertEquals(secondInvalidations[0].type, WebInspector.TracingTimelineModel.RecordType.StyleRecalcInvalidationTracking);
 | 
| +                InspectorTest.assertEquals(secondInvalidations[0].nodeName, "DIV");
 | 
| +                InspectorTest.assertEquals(secondInvalidations[0].reason, "StyleSheetChange");
 | 
|  
 | 
| -            // The second paint corresponds to the subframe and should have our style invalidations.
 | 
| -            var secondPaintRecord = InspectorTest.findTimelineRecord(WebInspector.TimelineModel.RecordType.Paint, 1);
 | 
| -            var secondInvalidations = secondPaintRecord._event.invalidationTrackingEvents;
 | 
| -            InspectorTest.assertEquals(secondInvalidations.length, 1);
 | 
| -            InspectorTest.assertEquals(secondInvalidations[0].type, WebInspector.TracingTimelineModel.RecordType.StyleRecalcInvalidationTracking);
 | 
| -            InspectorTest.assertEquals(secondInvalidations[0].nodeName, "DIV");
 | 
| -            InspectorTest.assertEquals(secondInvalidations[0].reason, "StyleSheetChange");
 | 
| -            next();
 | 
| +                next();
 | 
| +            });
 | 
|          }
 | 
|      ]);
 | 
|  }
 | 
| 
 |