Bug 1354624 - Make PrintTarget::CreateRecordingDrawTarget static. r=bobowen

MozReview-Commit-ID: 7b6vaGxXPC0
This commit is contained in:
Jonathan Watt 2017-03-22 19:10:42 +00:00
parent 1d3875cb1f
commit 7ec8783134
2 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ PrintTarget::GetReferenceDrawTarget(DrawEventRecorder* aRecorder)
return do_AddRef(mRefDT);
}
already_AddRefed<DrawTarget>
/* static */ already_AddRefed<DrawTarget>
PrintTarget::CreateRecordingDrawTarget(DrawEventRecorder* aRecorder,
DrawTarget* aDrawTarget)
{

View File

@ -143,7 +143,7 @@ protected:
// Protected because we're refcounted
virtual ~PrintTarget();
already_AddRefed<DrawTarget>
static already_AddRefed<DrawTarget>
CreateRecordingDrawTarget(DrawEventRecorder* aRecorder,
DrawTarget* aDrawTarget);