Timeline: add PaintSetup, time spent before actually painting a layer

For bitmap layers, allocating a canvas bitmap may be expensive. Let's expose
this as a separate event, PaintSetup. This is supposed to mean "whatever
compositor had to do to paint a layer, that does not depend on layer contents
but may depend on layer size".

Related chromium change: https://codereview.chromium.org/15317008/

R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150892 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove use of getInputResult() in DropShadowImageFilter, since I plan to remove it from skia.

See Skia change here:  https://codereview.chromium.org/15600003/

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSSRegions] Fix offsetLeft / offsetTop for elements inside named flow

Elements in named flows that have the body as their offsetParent, need to compute their offsetLeft and offsetTop values relative to the body.

WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=115899

BUG=242168

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150894 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Timeline: only coalesce Timestamp records with same message.

Timestamps are user-controlled and are presumed to be useful for providing a meaningful markup for other records. Besides, we replace record type with actual message -- so only coalesce if messages match.

R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Dirty the first RootInlineBox, always

The current code does not dirty the first RootInlineBox in a text
run if the change affects the first InlineTextBox. It is unclear
why it was not considered necessary. However, several problems with
rtl text editing have revealed the need to dirty the root box
regardless of whether we have already dirtued the line. I believe
this is because rtl text layout creates line boxes where they would
otherwise not exist.

This patch also modifies the fix for an existing SVG rtl bug, which
avoids duplciating the same clear operations. Apparently this also
fixes a layout test that previously had a failing result.

BUG=230726

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150718

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150896 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline inspector/timeline/timeline-enum-stability.html after r150892.

TBR=caseq@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150897 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't copy Persistents in V8PerContextData.

This gets rid of more places where Persistent handles are copied
(see bug).

BUG=236290

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
More MISSING test expectations on Mac.

BUG=239470
TBR=jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150899 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [HeapTracking] fix for selected size calculation.

We print selected size at status bar. Everything works fine except the ranges
which include the leftmost item. Actually we don't draw the bar for it because it is huge.
But when the leftmost item is selected then we show in the grid all the objects which were found in the heap at start tracking moment.
At the same time the size in the status bar doesn't reflect this fact.

BUG=none
TEST=none
R=apavlov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150900 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixing error recovery in CSS selectors.

Also fixed ignored_charset rule. Otherwise test css3/supports-cssom.html and fast/css/nested-at-rules.html fail because the grammar used to reduce nested @charset by invalid_rule.

BUG=140608

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150901 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't copy Persistents so much when using ScopedPersistent.

(This isn't yet getting rid of all places where copying occurs; particularly
ScopedPersistent::get(). More changes are needed.)

This gets rid of more places where Persistent handles are copied
(see bug).

BUG=236290

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150902 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove the compile time flag for DATALIST Element.

This is part of work for cleaning up #ifdefs from Blink source to reduce complexity.
    DATALIST Element is always Enabled on the chromium side.
    A separate patch ( https://codereview.chromium.org/14861002) will disable them on Android platform.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150903 bbb929c8-8fbe-4397-9dbb-9b2b20218538
One more MISSING fast/css test for the pile.

BUG=239470
TBR=jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150904 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [OverviewGrid] fix grid styles so it will look properly when resized.
BUG=none
TEST=none
R=caseq@chromium.org

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

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