Remove LevelDB* API from Blink, since IndexedDB no longer uses it.

BUG=
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151970 bbb929c8-8fbe-4397-9dbb-9b2b20218538
When drawing multiple box shadows, only use one save-clip-restore
set, since the clip is the same for all shadows of a box model object.

BUG=244419

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151971 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert one line of of r144760 to undo the following part of it...

>2. Change the SQLTransactionCoordinator to only allow one write
>   transaction to an origin instead of one write transaction per
>   database. This is needed in order to accurately compute the
>   disk usage. It is also necessary so that the OriginLock does not
>   deadlock itself (as would be the case if concurrent write transactions
>   to different databases in the same origin are allowed).

That change makes "deadlocks" (SQLiteBusy errors) easier to induce and we see that happening in the wild in m27.
So we're restoring the original correct behavior of coordinating transactions on a per-database basis.

BUG=244899
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151972 bbb929c8-8fbe-4397-9dbb-9b2b20218538
reland r151588 (remove unsupported run-webkit-tests flags)

This removes most of the flags for run-webkit-tests that were only supported
on the apple and other non-chromium ports, including --32-bit,
--gc-between-tests, --complex-tests, --leaks, --guard-malloc, --threaded,
and --root.

The change from r151588 is to keep --target and --chromium (still used by the bots).

R=ojan@chromium.org
BUG=245504

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

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

The AccessibilityText struct had a vector of node references, when
a single reference is suffices since AccessibilityText itself is repeated.

This removes a ton of code from every function that uses AccessibilityText.

BUG=247082

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151974 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Cleanup usage of CSSPropertyID and CSSValueID inside Blink.

A lot of call sites were using integers to represent them. While it's
not incorrect per say, it's not ideal for various reason such as type
safety or to remove ambiguity.

This patch eradicate the wrong usage by not letting any integer based
API for getting CSSValueIDs or CSSPropertyIDs from CSSPrimitiveValues.

Instead we use new but typed functions to construct the values as well
as getting them. 2 custom and internal types were added to CSSPrimitiveValue
to handle correctly the new APIs.

It's good to note that in order to preserve compatibility on the
CSSPrimitiveValue type whenever CSSPrimitiveValue handles a CSSValueID
or a CSSPropertyID the return type for the public API will be CSS_IDENT
despite it is a separate internal type.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151975 bbb929c8-8fbe-4397-9dbb-9b2b20218538
text-transform: capitalize shouldn't upconvert

In looking at STRING_STATS for Mobile New York Times, I noticed that
text-transform: capitalize is bloating memory by upconverting strings. It's a
small amount of memory, but there's no reason to upconvert the strings.

After this CL, all the strings used by Mobile New York Times are fully
optimized (or at least they will be after
https://codereview.chromium.org/16158008/ lands).

R=eseidel

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151976 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WebFrame preferred width/document height functions

These are deprecated in favor of WebView::contentsPreferredMinimumSize() and
are uncalled as of chromium r204400

BUG=243314

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151977 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix GIFImageDecoderTest.randomDecodeAfterClearFrameBufferCache

BUG=none

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

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