| Index: Source/core/svg/SVGPathByteStreamBuilder.h
|
| diff --git a/Source/core/svg/SVGPathByteStreamBuilder.h b/Source/core/svg/SVGPathByteStreamBuilder.h
|
| index 759ebc7ac3e43037375efe70f5268fd4114942e3..493b77ac04e08034b27400b73ee6b1742c276a13 100644
|
| --- a/Source/core/svg/SVGPathByteStreamBuilder.h
|
| +++ b/Source/core/svg/SVGPathByteStreamBuilder.h
|
| @@ -53,25 +53,6 @@ private:
|
| virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) OVERRIDE;
|
| virtual void arcTo(float, float, float, bool largeArcFlag, bool sweepFlag, const FloatPoint&, PathCoordinateMode) OVERRIDE;
|
|
|
| - template<typename DataType>
|
| - void writeType(DataType value)
|
| - {
|
| - ByteType<DataType> data;
|
| - data.value = value;
|
| - size_t typeSize = sizeof(ByteType<DataType>);
|
| - for (size_t i = 0; i < typeSize; ++i)
|
| - m_byteStream->append(data.bytes[i]);
|
| - }
|
| -
|
| - void writeFlag(bool value) { writeType<bool>(value); }
|
| - void writeFloat(float value) { writeType<float>(value); }
|
| - void writeFloatPoint(const FloatPoint& point)
|
| - {
|
| - writeType<float>(point.x());
|
| - writeType<float>(point.y());
|
| - }
|
| - void writeSegmentType(unsigned short value) { writeType<unsigned short>(value); }
|
| -
|
| SVGPathByteStream* m_byteStream;
|
| };
|
|
|
|
|