Change FontHarfBuzz to rotate canvas instead of using drawTextOnPath

Change Font::drawGlyphs in FontHarfBuzz to use the regular text drawing
API provides by Skia and rotating the canvas rather than using the
drawTextOnPath API as the latter is more expensive and does not support
the same functionality as the drawPosText API.

This changes the rendering of a number of text tests, in each case the
new results better match the current Windows expectations and look more
correct to me, especially the selection results where the glyphs are
fully contained by the selection rect now.

BUG=313423
R=bungeman@chromium.org,dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161358 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move MediaPlayer, IntSizeHash to platform/

BUG=297477

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

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