From 73813c86e19987b903e9468174cf1bc93b278093 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Wed, 9 Mar 2022 13:50:06 -0800 Subject: [PATCH] SaveLayerOptions explicit copy operator (flutter/engine#31934) --- engine/src/flutter/display_list/display_list.h | 4 ++++ 1 file changed, 4 insertions(+) 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_; }