b=339553 followup, fix an issue in windows opt builds with uninitialized data, r+a=vlad, patch=robarnold

This commit is contained in:
vladimir@pobox.com 2007-08-03 15:47:48 -07:00
parent ec402ee7a9
commit 0f0bb07000

View File

@ -1672,7 +1672,7 @@ nsCanvasRenderingContext2D::MozTextAlongPath(const nsAString& textToDraw, PRBool
PathChar *cp = new PathChar[strLength];
gfxPoint position;//(mThebesContext->CurrentPoint());
gfxPoint position(0.0,0.0);
gfxFloat x = position.x;
for (PRUint32 i = 0; i < strLength; i++)
{