Skip to content

Commit

Permalink
Update general_golden_test.dart (flutter#30134)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdebbar authored Dec 5, 2021
1 parent 0add385 commit 7e7bcb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web_ui/test/html/paragraph/general_golden_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ Future<void> testMain() async {

test('foreground style (DOM)', () {
const Rect bounds = Rect.fromLTWH(0, 0, 300, 200);
final DomCanvas canvas = DomCanvas(domRenderer.createElement('flt-picture'));
final DomCanvas canvas = DomCanvas(html.document.createElement('flt-picture'));
testForegroundStyle(canvas);
return takeScreenshot(canvas, bounds, 'canvas_paragraph_foreground_style_dom');
});
Expand Down

0 comments on commit 7e7bcb1

Please sign in to comment.