Auto-rebaseline for r156053

http://src.chromium.org/viewvc/blink?view=revision&revision=156053

BUG=270922
TBR=rbyers@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156066 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable touch hit testing on overlay layers

The compositor hit testing doesn't know how to deal with layers that may be transparent to events, so for now we need to assume any touch on an overlay needs to be handled on the main thread.

This is exactly analogous to an earlier issue http://crbug.com/173547 where overlay layers needed to be marked as non-fast-scrolling.

BUG=178281

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156067 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[HTML Imports] Fix ASSERT() hit on loading cached import loading.

When the data is cached in Blink, Resource immediately returns
its result to ResourceClient, which makes HTMLImportLoader constructor
have some side effect and it hits the assertion.

This change moves necessary on HTMLImportLoader constructor before
addClient() call, so that it works with the side effect.

BUG=270712
TEST=cached-import.html
R=dglazkov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156068 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add toSVGClipPathElement(), and use it

As a step to clean-up static_cast<SVGXXX>, static_cast<SVGClipPathElement*> also can
be changed with toSVGClipPathElement().

As minor clean-up, this cl changes to use toSVGSVGElement() instead of static_cast<SVGSVGElement*>.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156069 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Replace style sharing cousin list search with LRU

The current implementation of style sharing uses a very confusing set of methods to
search a node's cousins in an attempt to find other nodes to share style with. This
patch replaces this confusing method with a simple LRU that allows us to find
nodes to share with even if they're not our cousins.

Using this method results in more Style Sharing, but it also results in spending
more time looking for nodes to share with. The end result is a different performance
profile. Some tests will be slower, some will be faster. I used an internal set of
25 "typical" web pages, a set of websites, and our perf tests to help refine the
size of the LRU to maximize for performance.

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

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