mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Update comments that seem to contradict the code and may confuse the reader (flutter/engine#36556)
This commit is contained in:
parent
03e35d0c66
commit
9599aff86d
@ -155,8 +155,8 @@ Dart_Handle Picture::RasterizeToImage(const sk_sp<DisplayList>& display_list,
|
||||
|
||||
// We can't create an image on this task runner because we don't have a
|
||||
// graphics context. Even if we did, it would be slow anyway. Also, this
|
||||
// thread owns the sole reference to the layer tree. So we flatten the layer
|
||||
// tree into a picture and use that as the thread transport mechanism.
|
||||
// thread owns the sole reference to the layer tree. So we do it in the
|
||||
// raster thread.
|
||||
|
||||
auto picture_bounds = SkISize::Make(width, height);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user