Maintain aspect ratio in wide vieport mode.

Wide viewport mode should maintain the aspect ratio of the viewport,
otherwise we run into problems when android_webview is in autosizing
mode.

BUG=247002
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Adjust expectations for suspend-resume-animation.html and transition-and-animation-{1,2}.html

TBR=jamesr@chromium.org
BUG=243353

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Timeline: only coalesce event records if these are of the same type

Having stuff like keydown+keypress coalesced is, apparently, inconvenient.

R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unnecessary usage of Local(T*) and Persistent(T*) ctors.

In all these cases it seems that it was used either by accident or for
constructing a Local from a Handle.

This gets rid of V8 handle operations which will be removed soon (see bug).

BUG=236290

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Remove wrong Mac-specific expectations for inspector/styles/region-style-crash.html

BUG=
TBR=loislo

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Lightweight check of image decode status.

PrepareToDecode() can determine whether an image is decoded, but requires 2 locks and a considerable amount of time to do so because of side-effects. MaybeDecoded() only requires one lock and is much faster.

MaybeDecoded() might be wrong, but the value of either function can become obsolete without warning (because images can be purged from the cache at any time), so a fast approximate answer is acceptable.

This patch is purely infrastructure, and requires a chromium-side commit to activate.
We can use that one-line change to explore the larger-scale performance implications.

BUG=239632
R=senorblanco
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixed test flackiness.

Made more loose check assuming that two consequitive
messages in log may have same timestamp.

BUG=247321
R=yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [CodeMirror] update CodeMirror to TOT@6e56c7fe42

Update CodeMirror editor to the tip-of-tree version which
is much snappier because of fixed problems with highlighter.

BUG=
R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update expectation for fast/events/attempt-scroll-with-no-scrollbars.html

TBR=jamesr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 151879 "Remove virtual from functions that are never over..."

Broke two Chromium tests

BUG=247325

> Remove virtual from functions that are never overridden.
> 
> I checked these by writing a quick Python script; none of these functions
> are found in any other header files in this directory.
> 
> I was surprised how much this cuts down on code size. I'm going to
> aggressively get rid of virtual functions when they're not useful.
> The main reason this helps so much is because there are so many subclasses
> of AccessibilityObject.
> 
> BUG=247082
> 
> Review URL: https://chromiumcodereview.appspot.com/16465002

TBR=dmazzoni@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove Script::PreCompile

Currently we precompile scripts and cache the results to the HTTP cache.
However, the precompilation does almost nothing (just split a script into
functions) and the V8 team does not have a plan to put more work to
the precompilation. In addition, according to UMAs, the precompilation
doesn't look like any perf win in a real web. Thus we can remove the
precompilation from Blink.

R=abarth,dcarney
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement V8ScriptRunner::instantiateObject()

After this CL, all executions that need V8RecursionScope are
centralized in V8ScriptRunner. I'll move V8RecursionScope to
V8ScriptRunner in a follow-up patch.

R=abarth,adamk
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't delete a SpeechTasks when cancelling them, as they're already posted on the MessageLoop

BUG=247271
R=inferno@chromium.org

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

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