mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 815648 - Correctly detect when we're going to use a shadow so we can measure the text's extents correctly. r=roc
This commit is contained in:
parent
4c5e897091
commit
3939619e1e
@ -2548,7 +2548,7 @@ CanvasRenderingContext2D::DrawOrMeasureText(const nsAString& aRawText,
|
||||
const ContextState &state = CurrentState();
|
||||
|
||||
// This is only needed to know if we can know the drawing bounding box easily.
|
||||
bool doDrawShadow = aOp == TEXT_DRAW_OPERATION_FILL && NeedToDrawShadow();
|
||||
bool doDrawShadow = NeedToDrawShadow();
|
||||
|
||||
CanvasBidiProcessor processor;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user