Skip to content

Commit 584d958

Browse files
authored
[fuchsia] Capture SkRRect in scene_update_context by value (flutter#13989)
This was leading to usage of the captured rect after the end of the lifetime in descrutor of Frame.
1 parent 0f530a7 commit 584d958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/scene_update_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class SceneUpdateContext {
124124
void AddPaintLayer(Layer* layer);
125125

126126
private:
127-
const SkRRect& rrect_;
127+
const SkRRect rrect_;
128128
SkColor const color_;
129129

130130
std::vector<Layer*> paint_layers_;

0 commit comments

Comments
 (0)