Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 7e7bcb1

Browse files
authored
Update general_golden_test.dart (#30134)
1 parent 0add385 commit 7e7bcb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web_ui/test/html/paragraph/general_golden_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ Future<void> testMain() async {
536536

537537
test('foreground style (DOM)', () {
538538
const Rect bounds = Rect.fromLTWH(0, 0, 300, 200);
539-
final DomCanvas canvas = DomCanvas(domRenderer.createElement('flt-picture'));
539+
final DomCanvas canvas = DomCanvas(html.document.createElement('flt-picture'));
540540
testForegroundStyle(canvas);
541541
return takeScreenshot(canvas, bounds, 'canvas_paragraph_foreground_style_dom');
542542
});

0 commit comments

Comments
 (0)