Minor cleanup to RenderLayerCompositor::cacheAcceleratedCompositingFlags

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171379 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Get rid of code duplication in LinkRelAttribute

There was a "fast path" that just compared the strings and then another
that split and then compared. The two paths were slightly different for
no obvious reasons which doesn't really follow the spec where the tokens
can be all mixed with each other (except for "shortcut icon" apparently).

Allocating the separate strings for "alternate stylesheet" should not be
an issue.

I also removed the extra constructor, we can just use a default argument
value.

The only behavior change is that now we allow things like "alternate import"
(or dns-prefetch) and just ignore the alternate part when deciding what
to do with the link.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171380 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Force encoding to UTF-8 for HTML Imports

See spec bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=21275

R=abarth@chromium.org, morrita@chromium.org
BUG=336698

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171381 bbb929c8-8fbe-4397-9dbb-9b2b20218538
deleteDatabase() success should be IDBVersionChangeEvent [Blink]

Found via the W3C web-platform-tests. Once the back-end is
sending the version to the front-end (through existing plumbing),
create and populate the correct kind of event, per the spec.

Blink side must land first, then Chromium side, then Blink tests.

BUG=362251

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

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

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

BUG=362078
TBR=enne@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171384 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove FrameView::containsScrollableArea

This function does a hash lookup and is needlessly indirect. Instead, we can
just keep a bit on RenderLayerScrollableArea to remember whether we actually
scroll. I was hoping this would make the tweetus demo from famo.us faster, but
it didn't seem to have much of an effect. It's worth doing just for code
clarity, however.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171385 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ServiceWorker should have an interface object.

BUG=361828

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171386 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove use of WebCrypto digestSynchronous in Blink.

In the internal WebCrypto API, WebCryptoDigestor can act as a superset of
digestSynchronous. It will simlify things to not have digestSynchronous anymore,
so as a first step, this removes its one use.

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

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