WebCrypto: Fix a crash when passing invalid ArrayBufferView to importKey.

BUG=245025

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154965 bbb929c8-8fbe-4397-9dbb-9b2b20218538
UseCounter: Assign new value to SVGAnimationElement.

We should not recycle unused enum value. Counter data should not depend on
Chrome version.

BUG=
R=isherman@chromium.org, pdr@chromium.org

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

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

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

BUG=263879
TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154967 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Have the auto-rebaseline tool only rebaseline actual failures on the bots.

Since we spam results into an accumulated directory, the tool would sometimes
get the wrong baseline because of a flaky test having a png from many runs ago.
Instead, only rebaseline results that actually failed in the last run on each
bot.

This bug still exists for rebaselining using rebaseline-expectations and rebaseline,
but I think the proper fix for those is to stop using the accumulated directory
at all, which is blocked on storing the per-run results in an unzipped form.

Even when we stop using the accumulated directory, I think we want to keep this
code for auto-rebaseline because it means the rebaseline will be faster since
it won't try to rebaseline files it doesn't need to.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154968 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Have rebaseline-expectations consider one expectations file at a time.

This simplifies the semantics of the Rebaseline keyword in a future world
in which we merge different expectations files instead of having one
overwrite the other.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154969 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Improve GIF image decoding by using Vector<>::iterator

Vector<>::operator[] does an implicit bounds check in Blink's implementation of
vector. Using iterator to access intermediate buffers used for LZW
decoding reduces processing time by 12%.

Also uses fixed-size arrays for |prefix|, |suffix| and |stack|.

BUG=233076

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

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