backout 36b64e9837f5 (Bug 668764) due to reftest orange on Win7
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 11 Jul 2011 18:24:03 -0700
changeset 73056 c05f6481b84a04568c9a9febdbbbab52a59c4586
parent 73055 8b1328c6045264dbf8ff7383d97004d0afb64c4a
child 73057 df4de9835c7880aadc0fb1ec3e127efecd03bcf0
push idunknown
push userunknown
push dateunknown
bugs668764
milestone8.0a1
backs out36b64e9837f5666a83b0fa5735550ad35b42dc46
backout 36b64e9837f5 (Bug 668764) due to reftest orange on Win7
gfx/cairo/cairo/src/cairo-d2d-surface.cpp
--- a/gfx/cairo/cairo/src/cairo-d2d-surface.cpp
+++ b/gfx/cairo/cairo/src/cairo-d2d-surface.cpp
@@ -1181,17 +1181,17 @@ static RefPtr<ID2D1StrokeStyle>
 
     RefPtr<ID2D1StrokeStyle> strokeStyle;
     sD2DFactory->CreateStrokeStyle(D2D1::StrokeStyleProperties(line_cap, 
 							       line_cap,
 							       line_cap, 
 							       line_join, 
 							       (FLOAT)style->miter_limit,
 							       dashStyle,
-							       FLOAT(style->dash_offset) / style->line_width),
+							       (FLOAT)style->dash_offset),
 							       dashes,
 							       style->num_dashes,
 							       &strokeStyle);
     delete [] dashes;
     return strokeStyle;
 }
 
 static int _d2d_compute_bitmap_mem_size(ID2D1Bitmap *bitmap)