mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1779771 - Use thread local ScreenReferenceDrawTarget for CanvasPath::Constructor. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D151944
This commit is contained in:
parent
b09009da4c
commit
65ee6ac311
@ -832,7 +832,7 @@ already_AddRefed<gfx::Path> SVGContentUtils::GetPath(
|
||||
}
|
||||
|
||||
RefPtr<DrawTarget> drawTarget =
|
||||
gfxPlatform::GetPlatform()->ScreenReferenceDrawTarget();
|
||||
gfxPlatform::ThreadLocalScreenReferenceDrawTarget();
|
||||
RefPtr<PathBuilder> builder =
|
||||
drawTarget->CreatePathBuilder(FillRule::FILL_WINDING);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user