De-flake http/tests/navigation/back-to-get-after-post.php

I goofed on my setTimeout() syntax because I am bad at javascript.

BUG=340277

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Interface cleanup for WebGestureCurveTarget

This is the final patch in a three-part series towards early termination of
flings when scrolling is impossible, cleaning up now unused portions of the
WebGestureCurveTarget interface.

Blink patch (#1)
https://codereview.chromium.org/139493003/

Chromium patch (#2):
https://codereview.chromium.org/136173004/

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170887 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix RenderLayer::hasNonCompositedChild

Another case of updating a tree order property while doing a paint order
walk. Since the neg z-order descendants are processed before the parent,
the code for clearing the bit on the parent clobbered the data from the
children.

This CL updates the property in the same way that
hasBlockSelectionGapBounds is (correctly) updated.

BUG=358877

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170888 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix null crasher by checking the hit test's result.

BUG=359531

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170889 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Compute correct repaint rect for decorated RenderSVGRoots

The current implementation of clippedOverflowRectForRepaint() uses the
generic repaint-rect calculations in SVGRenderSupport. Those in turn make
use of repaintRectInLocalCoordinates(), which for RenderSVGRoot is the
union of the painted children (w/ some expansion). If there're no children,
or they do not fill the entire content box, then a repaint would not
repaint the correct parts.
Fix by calculating the union of the border-box and the SVG content
when the SVG root is decorated (has background/border/etc.)

BUG=354305

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170890 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make MutableStylePropertySet::findPropertyIndex faster

The Intel VTune Amplifier profile says MutableStylePropertySet::findPropertyIndex
is a biggest hotspot when running 'CSSPropertySetterGetterMethods.html'
performance test.
This patch makes MutableStylePropertySet::findPropertyIndex a bit faster
by making it not to call WTF::Vector::at() in the cycle (WTF::Vector::at()
contains RELEASE_ASSERT affecting the performance).

CPU time diff 17.011s - 16.431s = 0.580s (linux desktop x64, GCC 4.6.3,
release content_shell build with enabled 'linux_dump_symbols' flag).

Results before:
avg 6637.456999820087 runs/s
median 6641.015455167277 runs/s
stdev 46.13222715581931 runs/s
min 6569.627789536735 runs/s
max 6713.072528670207 runs/s

Results after:
avg 6882.477918213916 runs/s
median 6869.921240991091 runs/s
stdev 43.08440888793655 runs/s
min 6823.600595470407 runs/s
max 6976.718834587643 runs/s

The average runs count increase is approx 4%.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170891 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add missing NULL check to FontCache::platformFallbackForCharacter

Add NULL check to FontCache::platformFallbackForCharacter when setting
min-size as data can be NULL if none of the fallback fonts can render
the character.

R=scottmg@chromium.org
BUG=359892

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

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