Remove StyleResolver::m_style by passing it as a parameter instead.

Review URL: https://chromiumcodereview.appspot.com/19763005

git-svn-id: svn://svn.chromium.org/blink/trunk@154710 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add blink_resources.grd.

This is a copy of Source/WebKit/chromium/WebKit.grd. This will be used in
chromium when blink rolls there.

R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154711 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change computeLength to take const RenderStyle*

The various computeLength functions all take two RenderStyle pointers
(style and rootStyle).
Mark those as const as no implementation of computeLength modifies the
style.

R=leviw@chromium.org
BUG=263253

Review URL: https://chromiumcodereview.appspot.com/19468005

git-svn-id: svn://svn.chromium.org/blink/trunk@154712 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Treat received Path as a const.

Skia internally will either create a new Path object in a call
to 'transform' or can do it inplace if the destination pointer
is the same as the source.

By copying the Path object on start, we can treat the received
Path as a const reference instead of a pointer and save 2 function
calls to set/restore the fill type.

BUG=236559

Review URL: https://chromiumcodereview.appspot.com/19846006

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