Auto-rebaseline for r161235

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

BUG=239225
TBR=bruno.d@partner.samsung.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161287 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move HRTFDatabaseLoader to WebThread API

BUG=301514
R=kbr@chromium.org,abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161288 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Delete all the js-test-post-* files and rename the fast/js/mozilla js-test-* files.

The js-test-post-* files are not used. And the fast/js/mozilla copies
have diverged greatly. Better to rename them to avoid any confusion.

TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161289 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update BidiResolver's max level depth to 125 per tr9r29

This is mostly just to demonstrate the process of making
a change to BidiResolver and using the new BidiTest.txt
based testing in BidiResolverTest.cpp.

Our test failures are now:
WARNING: Skipped 418143 tests.
Ran 352098 tests: 44882 level failures 19151 order failures.

Which is down 7 level failures from before and 2 order failures.

The process to test this was:
curl -O http://www.unicode.org/Public/UNIDATA/BidiTest.txt
(The version in our tree is older, BidiTest.txt needs to be
in your working directory for the BidiTest.txt based tests to run.)
ninja -C out/Debug blink_platform_unittests
./out/Debug/blink_platform_unittests
And then I adjusted the EXPECT_EQ to have the new (lower) numbers.

I also flipped the order of arguments in the EXPECT_EQ calls
so that the expected/actual numbers are printed correctly on failure.

BUG=242238

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161290 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 161127 "Don't leave stale pointer into m_grid"

It's causing http://crbug.com/314574.

> Don't leave stale pointer into m_grid
> 
> This change fixes several stale pointers issue in our code:
> - We would wrongly add boxes wrapped in anonymous wrappers to
> m_grid, which would never be removed.
> - RenderBlock::removeLeftoverAnonymousBlock would remove some
> anonymous wrappers under RenderGrid without notifying it of
> the hierarchy change (yay!).
> 
> To fix the second issue, I took the more conservative approach
> of notifying RenderGrid of any child's death and not clearing
> parent in removeLeftoverAnonymousBlock.
> 
> BUG=313293
> 
> Review URL: https://codereview.chromium.org/49383012

TBR=jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161291 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Delete js-test-style.css. js-test-pre.js injects the CSS it needs now.

TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161292 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove a significant source of memory allocations during CSS parsing.

This is about +2% on Parser/css-parser-yui.html locally.

Previously, we were allocating and freeing small vector buffers (most commonly
24 or 72 byte allocations on 64-bit), only to immediately throw them away.

Note that uncheckedAppend has an ASSERT that will cleanly catch any future
problems with sizing.


BUG=310918

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161293 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove duplicate isLeapYear

The function is already available from DateMath.h

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161294 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Declare kCachedPowersLength only if !ASSERT_DISABLED

The kCachedPowersLength global static variable is only used in assertions so
we should only declare it if !ASSERT_DISABLED to avoid warnings at compile
time.

R=eseidel, thakis
BUG=312287
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move fast/js/resources files to resources.

Move fast/js/resources/js-test-pre.js and
fast/js/resources/leak-check.js to the root resources
directory. They're used mostly by tests outside of fast/js.
Also, rename js-test-pre.js to js-test.js now that there's
no js-test-post.js.

TBR because it's impossible to review 6819 file changes in rietveld.

TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161296 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix webkitpy unittest update missed in https://codereview.chromium.org/58533003.

TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161297 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: static methods

BUG=239771
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161298 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Shapes] image valued shape element margin can cause an ASSERT fail

When margin-top is specified for a shape's element, the Y coordinates passed to RasterShapeIntervals::getExcludedIntervals() may be negative. This is because the incoming logical coordinates are relative to the content or padding box, depending on the box-sizing property. The RasterShape::getExcludedIntervals() method now clips the incoming Y coordinates to the shape's bounds.
 
BUG=314786

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

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