From 82c6be75887f0f606f8b80a507f51929a78d1e67 Mon Sep 17 00:00:00 2001 From: amirh Date: Thu, 21 Dec 2017 16:26:12 -0800 Subject: [PATCH] Remove extraneous const from PhysicalLayerRRect::getPath (flutter/engine#4490) This caused a breakage on mac due to inconsistent signatures for declaration and implementation. --- engine/src/flutter/flow/layers/physical_model_layer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/flow/layers/physical_model_layer.cc b/engine/src/flutter/flow/layers/physical_model_layer.cc index 30c8356383..03c767f97a 100644 --- a/engine/src/flutter/flow/layers/physical_model_layer.cc +++ b/engine/src/flutter/flow/layers/physical_model_layer.cc @@ -97,7 +97,7 @@ void PhysicalModelLayer::DrawShadow(SkCanvas* canvas, dpr * 800.0f, 0.039f, 0.25f, color, flags); } -const SkPath PhysicalLayerRRect::getPath() const { +SkPath PhysicalLayerRRect::getPath() const { SkPath path; path.addRRect(rrect_); return path;