Defer updateCompositingRequirementsState until the compositing update

This CL removes some compositing chicken/egg work by deferring
updateCompositingRequirementsState until the compositing update. This CL is the
first step towards properly integrating this work with the rest of the
compositing update.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171398 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't use default GDI SkFontMgr in getFontFamilyForScript

Instead of using SkTypeface directly which goes through the
default Skia FontMgr, pass ours through so that when enabling
DirectWrite we don't use the GDI one.

R=eae@chromium.org
BUG=362694

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171399 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Support sideloaded fonts for DirectWrite

Chrome side is: https://codereview.chromium.org/231763003/

This isn't perfect (using the family name directly rather than
doing a name/style/etc. fallback based lookup), but it's simple
and works sufficiently for layout tests and local developer use
of custom fonts. If we want to in the future, the same interface
could be used in conjunction with some skia changes to support
custom font collections, which would get the full style matching
support.

TBR=dglazkov@chromium.org
R=eae@chromium.org
BUG=333029

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171400 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unnecessary codes in FileInputType.cpp. 
It seems not to needed. 
The variable "paths" is not used.

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

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