diff --git a/engine/src/flutter/display_list/display_list.h b/engine/src/flutter/display_list/display_list.h index 5052e61462..a2d426548f 100644 --- a/engine/src/flutter/display_list/display_list.h +++ b/engine/src/flutter/display_list/display_list.h @@ -178,6 +178,10 @@ class SaveLayerOptions { return options; } + SaveLayerOptions& operator=(const SaveLayerOptions& other) { + flags_ = other.flags_; + return *this; + } bool operator==(const SaveLayerOptions& other) const { return flags_ == other.flags_; }