Bug 749467: Properly mark mPathTransformWillUpdate false. r=roc,a=akeybl
authorBas Schouten <bschouten@mozilla.com>
Fri, 27 Apr 2012 07:07:01 +0200
changeset 95743 046f1d37eea0d96fffb61cfe409ffdd1201379e3
parent 95742 61edcd0409bb9ce7155247ddaecd8b211be25e72
child 95744 8f5e65a6d5404245da9962a864c2bbfa89cc5c60
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, akeybl
bugs749467
milestone14.0a2
Bug 749467: Properly mark mPathTransformWillUpdate false. r=roc,a=akeybl
content/canvas/src/nsCanvasRenderingContext2DAzure.cpp
--- a/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp
+++ b/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp
@@ -2554,16 +2554,17 @@ nsCanvasRenderingContext2DAzure::EnsureW
 
   if (!mPath) {
     mPathBuilder = mTarget->CreatePathBuilder(fillRule);
   } else if (!mPathTransformWillUpdate) {
     mPathBuilder = mPath->CopyToBuilder(fillRule);
   } else {
     mDSPathBuilder =
       mPath->TransformedCopyToBuilder(mPathToDS, fillRule);
+    mPathTransformWillUpdate = false;
   }
 }
 
 void
 nsCanvasRenderingContext2DAzure::EnsureUserSpacePath()
 {
   FillRule fillRule = CurrentState().fillRule;