Enabled link highlights on windows

BUG=263516

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160367 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add HashMapWithRefPtrAsKey WTF unit test

This test makes sure that HashMap<RefPtr<X>,Y> owns properly RefPtr key instances.
This test might be useful considering possible refactoring (removal) of HashMap<RefPtr<T>,..> template specialization.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160368 bbb929c8-8fbe-4397-9dbb-9b2b20218538
More error handling cleanup during run-webkit-tests setup_test_run for android.

We were not catching and propagating errors properly if we got an error
from adb while trying to prepare a device. Now we will catch the errors
and continue on (logging warnings) as long as at least one device was
prepared successfully. If we can't prepare any devices, we give up.

This change involved reworking check_sys_deps() and check_build() to return
proper errors rather than just a true/false success flag, and so it was
more invasive than one might hope.

R=peter@chromium.org, ojan@chromium.org
BUG=305040

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160369 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove tests that are no longer flaky.

This side of the yak is shaved.

BUG=307570
R=tony

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160370 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move more data from .data to the .rodata section

Move more data from .data to the .rodata section so that it can be shared
between different instances of the library on mobile / Android.

In particular, the following data was moved:
- Property names in the generated TypeBuilder class
- s_resourceType in SVG rendering classes
- InspectorDebuggerAgent::backtraceObjectGroup string
- TextEncodingRegistry's textEncodingNameBlacklist array

This also got rid of 7 relocations according to relinfo.

R=abarth
BUG=249746

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160371 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Replace calls to Document::createEvent() with Event::create calls

This avoids a funny-looking static_pointer_cast and eliminates the only
caller of createEvent() in core (it should only be called by the bindings).

R=eseidel

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160372 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid unnecessary calls to leakRef() in Node

Using static_pointer_cast shouldn't be any scarier here than the
toMouseEvent/toTouchEvent calls, since we're checking the type tags on
the previous line in each cast.

R=abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160373 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a very basic BidiResolverTest file

Unclear if we should test our UBA via a unittest or via some other
harness, but adding a gtest file in case we go that route.

I expect now that it's easy to gtest this code we'll test more of it.

BUG=242238

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160374 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not allow to use OwnPtr for ref-counted types.

Check in compile time that type given to OwnPtr/PassOwnPtr is not inherited either from RefCountedBase or from ThreadSafeRefCountedBase.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160375 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add use counters for the different BarProp properties

BUG=310691

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160376 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move FloatPolygon.* and WindRule.h to Source/platform/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160377 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move float logical location/dimension methods to RenderBlockFlow

I recently moved the logical location and dimension methods from RenderBlock to
FloatingObject. This made it so that the methods needed to take in the
horizontal writing mode of the FloatingObject's container in order to do their
thing. When looking into how to fix this, I came to understand why RenderBlock
has methods to determine the logical location and dimensions of its children,
when the children themselves have those methods: the methods on RenderBlock are
for determining the logical value in the writing mode of that RenderBlock, and
the method on the child is for determining the logical value in the writing
mode of the child.

Since the floating object list has moved from RenderBlock to RenderBlockFlow,
this change moves the logical dimension methods from FloatingObject to
RenderBlockFlow.

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

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