fix sys.path earlier to make outputcapture work

We need to adjust sys.path earlier in test-webkitpy's execution so
that we can safely import unittest2 when configuring the printer.

Without this patch, running test-webkitpy -p could fail if unittest2
wasn't an alias for unittest (in Python 2.7).

R=ojan@chromium.org, abarth@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156357 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use svg casting function instead of static_cast<>

We can use toSVGPathElement() and toSVGPolyElement() instead of static_cast<>.
This patch removes unneeded local variables as well.

BUG=N/A

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156358 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix starting drivers on android in run-webkit-tests after r156342.

I forgot to update the android server process wrapper; too many patches in
flight.

TBR=ojan@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156359 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Update builder lists in webkitpy, garden-o-matic, test-results for android."

Turns out the android bot isn't actually archiving the results yet, so
this was premature.

TBR=ojan@chromium.org
BUG=276070

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156360 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unreviewed gardening: Rebaseline scrollbar image diffs post r156352

TBR=bokan@chromium.org
BUG=249425

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156361 bbb929c8-8fbe-4397-9dbb-9b2b20218538
AX: Check renderer type before casting.

We assumed some types of elements have specific types of renderers.
e.g. <img>'s renderer is always a RenderImage.

This assumption is going to be broken when we support author shadow DOM.
So we should check renderer types explicitly.

BUG=253801,274205
TEST=none; No behavior changes yet.

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

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