Auto-rebaseline for r180817

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

BUG=404890
TBR=wangxianzhu@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180828 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r180822

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

BUG=247716
TBR=ccameron@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180829 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r180827

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

BUG=388780
TBR=jinho.bang@samsung.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180830 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make commit links/descriptions work in sheriff-o-matic post git migration.

-Point chromium revisions to crrev.com.
-Properly parse out git commit positions from the commit description.

BUG=401855
R=hinoka@google.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180831 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Inline BitmpaImage::isAllDataReceived

TEST=webkit_unit_test --gtest_filter="BitmapImage*DataReceived"
BUG=369901

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180832 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Console] fix console message stack wrapping

The patch changes console message stack layout so that it wraps around
link entry.

BUG=404458
R=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180833 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: speculative fix to consolev-viewport-selection.html flakiness

The flakiness dashboard reports that test "testScrollSelectionAwayDown"
from console-viewport-selection.html testsuite is flaky. The test
uses "forceItemToBeLast" viewport method which, for some reason, turned
out to be flaky. The patch gets rid of the method usage in this test.

BUG=390204
TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180834 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add BitmapImage resetDecoder() method

This method can be used in conjunction with a cache prune of the
associated ImageResource to perform image redecoding. Currently,
the method only used in the webkit unit tests added in the patch
and a decoder reset does that only: no meta data about the image
(known to or stored in BitmapImage including any already decoded
frames) is changed.

Make the interface private for now, add BitmapImageTests, and an
ASSERT that the method is main-thread only.

To perform a full redecode, any decoded frames that exist should
be cleared via BitmapImage::destroyDecodedData, as shown in unit
test examples.

TEST=webkit_unit_tests --gtest_filter="BitmapImage*"
BUG=369901

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180835 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Check for type registeration of Custom element before validating options

Early return form CustomElementRegistry::registerElement, if type
is already registered, before validating options.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180837 bbb929c8-8fbe-4397-9dbb-9b2b20218538
remove redundant call to drawingContext in CanvasRenderingContext2D::drawImage. 

drawingContext is not light-weight at all. It checks whether the context is lost, 
and whether the ImageBufferSurface is valid. If lots of drawImage is called 
per frame, say 1000 fishes for FishIETank benchmark, drawingContext will 
be a hotspot. profiling content_shell on Nexus 7 by linux perf tool, data shows 
that the CPU cycles cost by drawingContext will be 5+% of the whole render process. 
However, drawImage calls drawingContext twice: one is in drawImage, another is 
in drawImageInternal. This simple CL removes one redundant call to improve performance.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180838 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a regression to catch :host.foo should not match.

This came up during the code review at
https://codereview.chromium.org/402813003/

A CSS selector ":host.foo {}" in a shadow tree should never match
its shadow host, whereas ":host(.foo) {}" should match, of course.

BUG=393509
TEST=pass this test.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180839 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not show date format warnings for Modernizr.

This is a follow-up of Blink r180341 [1].

Modernizr sets an invalid string to a date input element to check if date input
type is actually supported. We'd like to avoid to show warning messages for such
feature detection. So,

- We don't show the warning if value IDL attribute is updated and the element is
  not visible.
- We don't show the warning if type attribute is changed with a dirty invalid
  value.

Also, use WarningMessageLevel instead of ErrorMessageLevel.

[1] http://src.chromium.org/viewvc/blink?view=revision&revision=180341

BUG=397952

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180840 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Run 2-keyframe animations with non-linear timing on the compositor.

The animation has to have a linear timing function on the first keyframe.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180842 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Cleanup CSS.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180843 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: NetworkPanel: reduce use of "opacity".

We're going to redesign color scheme to show more information.
This is a preparation step.

This patch makes bars opaque and tunes colors, to preserve old UI.

Screenshots:

Before:
http://picpaste.com/before_2.png

After:
http://picpaste.com/after_3.png


BUG=
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180844 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Make select next occurrence (ctrl/cmd+d) shortcut case sensitive.

R=pfeldman, lushnikov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180846 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Prevent a debugger pause while executing js code in releaseObjectGroup

V8 part of change: https://codereview.chromium.org/473913002

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180847 bbb929c8-8fbe-4397-9dbb-9b2b20218538
bindings: Adds refObject to WrapperTypeInfo.

Adds refObejct to WrapperTypeInfo in addition to derefObject, so that we can call ref() function without knowing type T nor V8T.

BUG=235436

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180849 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline visibility-image-layers for the winxp and win7 in virtual/threaded. Also add a few flaky tests to TestExpectations.

BUG=
TBR=gavinp@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180850 bbb929c8-8fbe-4397-9dbb-9b2b20218538
AudioSummingJunction should not be added to AudioContext::m_dirtySummingJuncions after disposed

Currently it's possible that AudioSummingJunction is re-added to AudioContext::m_dirtySummingJuncions
after the AudioSummingJunction is removed from the AudioContext::m_dirtySummingJuncions
in the AudioSummingJunction's destructor. This leads to a use-after-free.

This CL prevents the use-after-free by making sure that an already-disposed AudioSummingJunction
is not re-added to AudioContext::m_dirtySummingJuncions.

BUG=406850
TEST=webaudio/audiosummingjunction-crash.html

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

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