Add finalization support to WorkerGlobalScopeIndexedDatabase which contains two RefPtrs.

R=ager@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169110 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[MemUsage][BinarySize] More perfect hashes for CSS strings.

gperf generates some "perfect" hashes for CSS properties and CSS
values. Those are not very compact but can be more compact if gperf
is asked to try harder. This will cost 1 s build time and reduce binary
size by about 12 KB.

The flags changed are:

'-m 50' - Try 50 times more initial values to the search algorithm. This
will make the call 50 times slower but for the current input size that is
no problem.

Removal of ‘-s 2’ - -s 2 told gperf to generate a twice as large data table
to make it easier (faster) to find a solution.

Also '-D' moved around but was there both before and after so no addition
or removal.

In the longer run we should move away from gperf to a better algorithm (they
exist at the research level but not as easily installed programs)

BUG=351774

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169111 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Resource cache: unlock Resource when the last client goes away

When the last client of a resource goes away, and it does not have any handle
anymore, this CL unlocks the resource in order to decrease the memory
consumption of the MemoryCache. This CL also adds the possibility to unlock FontResources.

BUG=290193

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169112 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make ScreenOrientation experimental.

After https://codereview.chromium.org/196193002 will land, Screen
Orientation API will be usable on Chrome Android. Making it experimental
will allow developers to try it while we tweak it before shipping.

BUG=162827

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169113 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Renamed /shadow-all/ to /shadow/.

Reflecting shadow styling spec, 5 March 2014: ^ should be /shadow/.
c.f. http://dev.w3.org/csswg/shadow-styling/#shadow-combinator

BUG=348891
TEST=replaced all /shadow-all/ in existing layout tests with /shadow/.

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

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