fix typo (flutter/engine#36271)
This commit is contained in:
@@ -66,7 +66,7 @@ class FrameDamage {
|
||||
|
||||
// Adds additional damage (accumulated for double / triple buffering).
|
||||
// This is area that will be repainted alongside any changed part.
|
||||
void AddAdditonalDamage(const SkIRect& damage) {
|
||||
void AddAdditionalDamage(const SkIRect& damage) {
|
||||
additional_damage_.join(damage);
|
||||
}
|
||||
|
||||
|
||||
@@ -551,7 +551,7 @@ RasterStatus Rasterizer::DrawToSurfaceUnsafe(
|
||||
damage = std::make_unique<FrameDamage>();
|
||||
if (frame->framebuffer_info().existing_damage && !force_full_repaint) {
|
||||
damage->SetPreviousLayerTree(last_layer_tree_.get());
|
||||
damage->AddAdditonalDamage(*frame->framebuffer_info().existing_damage);
|
||||
damage->AddAdditionalDamage(*frame->framebuffer_info().existing_damage);
|
||||
damage->SetClipAlignment(
|
||||
frame->framebuffer_info().horizontal_clip_alignment,
|
||||
frame->framebuffer_info().vertical_clip_alignment);
|
||||
|
||||
Reference in New Issue
Block a user