2007-12-04 Alp Toker <alp@atoker.com>
authoralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Dec 2007 08:31:07 +0000 (08:31 +0000)
committeralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Dec 2007 08:31:07 +0000 (08:31 +0000)
        Rubber stamped by Mark Rowe.

        Remove two unused variables to silence warnings.

        * html/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::fill):
        (WebCore::CanvasRenderingContext2D::stroke):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28382 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/html/CanvasRenderingContext2D.cpp

index bf9d66ae265c3a578b6e3321cac248272b0f5611..bfa6131f8d2660b3d604feb07fb649d6dee9d0f7 100644 (file)
@@ -1,3 +1,13 @@
+2007-12-04  Alp Toker  <alp@atoker.com>
+
+        Rubber stamped by Mark Rowe.
+
+        Remove two unused variables to silence warnings.
+
+        * html/CanvasRenderingContext2D.cpp:
+        (WebCore::CanvasRenderingContext2D::fill):
+        (WebCore::CanvasRenderingContext2D::stroke):
+
 2007-12-03  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Darin Adler.
index d6f39d429e754bfed6acf69c622d593a2fc80c44..97b94373ee2d9638df945a3859a9acf554f44c56 100644 (file)
@@ -483,7 +483,6 @@ void CanvasRenderingContext2D::fill()
         p->fillPath(*path, p->brush());
     }
 #elif PLATFORM(CAIRO)
-    cairo_t* pathCr = state().m_path.platformPath()->m_cr;
     cairo_t* cr = c->platformContext();
     cairo_save(cr);
     willDraw(state().m_path.boundingRect());
@@ -547,7 +546,6 @@ void CanvasRenderingContext2D::stroke()
         p->strokePath(*path, p->pen());
     }
 #elif PLATFORM(CAIRO)
-    cairo_t* pathCr = state().m_path.platformPath()->m_cr;
     cairo_t* cr = c->platformContext();
     cairo_save(cr);
     // FIXME: consider inset, as in CG