Commit 46e62664 authored by hyatt's avatar hyatt
Browse files

Remove save()/restore()... forgot they are more expensive.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7e88633b
......@@ -189,9 +189,8 @@ void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2)
break;
}
save();
CGContextRef context = platformContext();
CGContextSaveGState(context);
CGContextSetShouldAntialias(context, false);
......@@ -247,7 +246,7 @@ void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2)
CGContextStrokePath(context);
restore();
CGContextRestoreGState(context);
}
// This method is only used to draw the little circles used in lists.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment