Fix passing |this| as a bool to checkForSiblingStyleChanges

We should be passing true here, not |this|.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171882 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark animations/compositor-start-event-timing.html as flaky

BUG=364640
TBR=dstockwell@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171883 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify the HTMLCollection destructor

Simplify the HTMLCollection destructor by restructuring the CollectionType
enumeration a bit and adding a isUnnamedHTMLCollectionType() convenience
function. We now use the isUnnamedHTMLCollectionType() in the HTMLCollection
destructor instead of enumerating all the "exception" types.

R=esprehn@chromium.org,adamk@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171884 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add EventHandlerRegistry
    
This patch introduces a generic EventHandlerRegistry document supplement
for keeping track for event handlers on EventTargets.
    
The EventHandlerRegistry provides a hash map of EventTargets for scroll
events; touch and wheel events will be added later. Currently the target
set contains all event handler targets in the host document. Future
patches will add handlers from child documents.
    
Initially the registry only tracks scroll handlers, but upcoming patches
will migrate the existing code paths for tracking touch and wheel events
to use this registry instead.
    
TEST=fast/events/scroll-event-handler-count.html
BUG=347366

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171885 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Expose subpixel font scaling flag through WebRuntimeFeatures

Expose the SubpixelFontScaling RuntimeEnabledFeatures flag to chromium
through WebRuntimeFeatures as we want to enable it for Windows Direct
Write builds.

R=abarth@chromium.org
BUG=25541

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Alter DisplayList so that it doesn't hold on to the prior recording's picture

This addresses the lingering issues from r171691 (Switching Blink to use new Skia SkPictureRecorder API - https://codereview.chromium.org/232513004/)

Specifically:

> DisplayList dl;
> 
> pic = dl.getPicture(); // what does this return?

NULL

> dl.endRecording(); // what does this do?

Nothing (other then throw an ASSERT). getPicture at this point will return NULL.

> canvas = dl.beginRecording();
> canvas = dl.beginRecording(); // what does this do/return?

Returns a new canvas that will feed into a new picture.

> pic = dl.getPicture(); // what does this return (during recording)?

NULL

> dl.endRecording();
> pic = dl.getPicture(); // what does this return (after endRecording)?

The new picture.

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

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