Bug 1538666: Fix typo in PathCapture::TransformedCopyToBuilder. r=rhunt a=lizzard FIREFOX_66_0_3_BUILD1 FIREFOX_66_0_3_RELEASE
authorBas Schouten <bschouten@mozilla.com>
Fri, 05 Apr 2019 17:59:17 +0200
changeset 516429 37ecfd08ffee
parent 516428 486b34283c44
child 516430 279b4aaefba2
push id2003
push userarchaeopteryx@coole-files.de
push dateTue, 09 Apr 2019 15:53:32 +0000
treeherdermozilla-release@37ecfd08ffee [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrhunt, lizzard
bugs1538666
milestone66.0.3
Bug 1538666: Fix typo in PathCapture::TransformedCopyToBuilder. r=rhunt a=lizzard Differential Revision: https://phabricator.services.mozilla.com/D26335
gfx/2d/PathCapture.cpp
--- a/gfx/2d/PathCapture.cpp
+++ b/gfx/2d/PathCapture.cpp
@@ -99,17 +99,17 @@ already_AddRefed<PathBuilder> PathCaptur
           newPathOp.mType = PathOp::OP_BEZIERTO;
           newPathOp.mP1 = mTransform->TransformPoint(aCP1);
           newPathOp.mP2 = mTransform->TransformPoint(aCP2);
           newPathOp.mP3 = mTransform->TransformPoint(aCP3);
           mVector->push_back(newPathOp);
         }
         void LineTo(const Point &aPoint) {
           PathOp newPathOp;
-          newPathOp.mType = PathOp::OP_BEZIERTO;
+          newPathOp.mType = PathOp::OP_LINETO;
           newPathOp.mP1 = mTransform->TransformPoint(aPoint);
           mVector->push_back(newPathOp);
         }
         pathOpVec *mVector;
         const Matrix *mTransform;
       };
 
       ArcTransformer arcTransformer(capture->mPathOps, aTransform);