Skip to content

Commit

Permalink
[fuchsia] Capture SkRRect in scene_update_context by value (flutter#1…
Browse files Browse the repository at this point in the history
…3989)

This was leading to usage of the captured rect after the end
of the lifetime in descrutor of Frame.
  • Loading branch information
iskakaushik authored Nov 23, 2019
1 parent 0f530a7 commit 584d958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/scene_update_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class SceneUpdateContext {
void AddPaintLayer(Layer* layer);

private:
const SkRRect& rrect_;
const SkRRect rrect_;
SkColor const color_;

std::vector<Layer*> paint_layers_;
Expand Down

0 comments on commit 584d958

Please sign in to comment.