--- old/modules/graphics/src/main/java/javafx/scene/shape/Polyline.java 2016-06-03 11:04:34.797423242 -0700 +++ new/modules/graphics/src/main/java/javafx/scene/shape/Polyline.java 2016-06-03 11:04:34.653423244 -0700 @@ -73,6 +73,12 @@ } @Override + public BaseBounds doComputeGeomBounds(Node node, + BaseBounds bounds, BaseTransform tx) { + return ((Polyline) node).doComputeGeomBounds(bounds, tx); + } + + @Override public Paint doCssGetFillInitialValue(Shape shape) { return ((Polyline) shape).doCssGetFillInitialValue(); } @@ -129,7 +135,7 @@ @Override protected void onChanged(Change c) { NodeHelper.markDirty(Polyline.this, DirtyBits.NODE_GEOMETRY); - impl_geomChanged(); + NodeHelper.geomChanged(Polyline.this); } }; @@ -147,12 +153,10 @@ return new NGPolyline(); } - /** - * @treatAsPrivate implementation detail - * @deprecated This is an internal API that is not intended for use and will be removed in the next version + /* + * Note: This method MUST only be called via its accessor method. */ - @Deprecated - public BaseBounds impl_computeGeomBounds(BaseBounds bounds, BaseTransform tx) { + private BaseBounds doComputeGeomBounds(BaseBounds bounds, BaseTransform tx) { if (getMode() == NGShape.Mode.EMPTY || getPoints().size() <= 1) { return bounds.makeEmpty(); }