Revert of Revert of Simplify/cleanup {postApply,apply}Resource signatures (patchset #1 id:1 of https://codereview.chromium.org/636623002/)

Reason for revert:
The maps_pixel_tests failures are unrelated.

Original issue's description:
> Revert of Simplify/cleanup {postApply,apply}Resource signatures (patchset #1 id:1 of https://codereview.chromium.org/629073003/)
> 
> Reason for revert:
> Reverting because of failures in maps_pixel_tests
> 
> https://build.chromium.org/p/chromium.gpu/builders/Mac%2010.8%20Release%20(Intel)/builds/29281
> 
> https://build.chromium.org/p/chromium.gpu/builders/Mac%20Release%20(Intel)/builds/41229
> 
> Original issue's description:
> > Simplify/cleanup {postApply,apply}Resource signatures
> > 
> > With the scope of this interface reduced, one argument to
> > postApplyResource can be removed, and the GraphicsContext*& can be
> > simplified to GraphicsContext*. Also change "unsigned short resourceMode"
> > to RenderSVGResourceModeFlags while we're changing all signatures.
> > 
> > BUG=420022
> > 
> > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183273
> 
> TBR=pdr@chromium.org,fmalita@chromium.org,schenney@chromium.org,fs@opera.com
> NOTREECHECKS=true
> NOTRY=true
> BUG=420022
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183284

TBR=pdr@chromium.org,schenney@chromium.org,fs@opera.com,ccameron@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=420022

Review URL: https://codereview.chromium.org/636643002

git-svn-id: svn://svn.chromium.org/blink/trunk@183286 bbb929c8-8fbe-4397-9dbb-9b2b20218538