[fuchsia] Capture SkRRect in scene_update_context by value (flutter/engine#13989)

This was leading to usage of the captured rect after the end
of the lifetime in descrutor of Frame.
This commit is contained in:
Kaushik Iska
2019-11-22 16:29:58 -08:00
committed by GitHub
parent 8c16c784a3
commit e04a911e5c

View File

@@ -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_;