Force ComplexPath if any part of the node requires it

Change our font measurement/rendering logic to force the ComplexPath for
the entire RenderText if any part of it requires it. This ensures
consistency between preferred width and line break calculations.
Also change FontCacheSkiaWin to use the subpixel settings from the
primary font in case of character based fallback.

TEST=fast/text/international/complex-text-with-default-font-spaces.html
BUG=412758
R=leviw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@183104 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Get rid of WTF::IsSubclassOfTemplate<N> classes

The WTF::IsSubclassOfTemplate<N> classes can be removed if
the WTF::IsSubclassOfTemplate class uses variadic templates.

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

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