Drop NotEnumerable for the on* event handler IDL attributes

BUG=305112

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159721 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add some more ASSERTs to partitionAlloc.

Some memory corruption errors might be flagged sooner in debug builds now. In a
future CL, we might consider padding allocations with canaries in debug.

R=tsepez@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159722 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add page visibility observer for Geolocation

Add page visibility observer for Geolocation so that we stop firing GPS
events to pages that are not visible, in order to save battery life.

R=abarth
BUG=112938

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159723 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix svg/animations/svglength-element-removed-crash.svg test failure

Apparently calling GCController.collect once is not enough to destroy all dom wrappers that are not used anymore. The change adds additional gc() to make sure all garbage nodes are destroyed.

BUG=307614
R=haraken@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159724 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix flakiness in cross-fade tests

A handful of cross-fade tests were flaky failures due to running before the images were loaded. Coincidentally, this problem was exacerbated by the switch to using the pause API as opposed to rAF since it allowed the tests to run immediately.

Updating the tests to wait for images to be loaded before running.

BUG=248938,249595

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159725 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move strings and collection class buffers into the WTF buffer partition.

This patch also removes two static initializers / destructors.
Blink coding style is to generally avoid these by having a static pointer to the
non-POD type, initializing it with an inline if, and letting it leak. However,
there are a few instances where that style is violated and these are causing
trouble by illegally touching Blink objects after WebKit::shutdown has been
called.

Easy to fix: two sites switched to standard style.

BUG=270531

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159726 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename WebCore::StyleResolverUpdateType to RecalcStyleTime

This makes it better match what it actually controls (recalcStyle)
and avoids confusion with StyleSheetCollection::StyleResolverUpdateType
which has a completely different meaning.

BUG=305885

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159727 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove RenderLayer::hasOverlayScrollbar

While touching the code, this change removed 2 confusing methods
includeVerticalScrollbarSize and includeHorizontalScrollbarSize.
Those were implictly checking for overflow: overlay scrollbars.

Also consolidated the logic in RenderBox::overflowClipRect
by checking hasOverflowClip() and calling the methods
directly RenderLayerScrollableArea.

BUG=260899

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159728 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use the same cache key logic for all font caches

Introduce a new CacheKey class and a cacheKey method on FontDescription
and use that instead of the three different keys in FontCache,
CSSFontFaceSource and CSSSegmentedFontFace.

This does not change any of the caching logic, only the computation
of the cache key.

TEST=Covered by existing tests.
BUG=307324
R=dglazkov@chromium.org,bungeman@chromium.org

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

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