Change NopCanvas API following commit 2410b90

Change Id932f109 changed the Canvas API, this updates NopCanvas
accordingly.

Bug: 74062470
Test: layoutlib tests
Change-Id: Ie1b9deb7d83a5764bb605c09dbc919aa42346cfc
1 file changed