Absolutify paths to platform/network.

BUG=234793
TBR=abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149046 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 149044 "Remove left-over PageCache stuff"

Broke all the compiles, e.g.,
http://build.chromium.org/p/chromium.webkit/builders/Linux%20Aura/builds/6409/steps/compile/logs/stdio

> Remove left-over PageCache stuff
> 
> PageCache was removed in r148973. This patch removes the rest
> of the Settings code (except a stub which is waiting on a Chromium
> patch to take care of it) as well as various comments/logging code.
> 
> Finally, it gets rid of LayoutTests that are no longer exercising
> anything interesting. In a few cases, the test still seems to be
> testing interesting behavior; these have been updated to remove
> their reference to the UsesPageCache pref.
> 
> R=abarth
> BUG=229605
> 
> Review URL: https://codereview.chromium.org/14481003

TBR=adamk@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149047 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Measure effect of promoting RenderLayers with a webkit-transition on opacity or transform

This gathers UMA stats to measure the effect on memory usage of promoting all
RenderLayers that have a webkit-transition on opacity or transform. By
promoting such layers ahead of time (rather than only promoting at the start
of an animation), we would avoid jank at the start of an animation (caused by
painting the promoted layer). Before making such a change, however, we need
to better understand the magnitude of the impact it will have on memory usage.
The stats gathered here will lower-bound that impact (since, e.g., promoting
such layers may cause other layers to also be promoted, but we don't count
the cost of these other layers).

R=jamesr

BUG=178119

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149048 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Handle optimizing baselines where there is no root baseline.

We were getting a KeyError before in the case where the root baseline
is unused and non-existant (i.e. the chromium-mac and chromium-win results
are different, but both exist).

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149049 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid computing style twice when element has no existing style

Merges https://trac.webkit.org/changeset/148970 from Antti Koivisto.

We currently compute element style twice if we end up having to reattach,
first in recalcStyle and then again during attach(). We can easily avoid
this in common case where the element has no existing style
(usually because it is display:none or we're doing lazy attach).

In Element::recalcStyle don't compute the style and diff if there is no
existing style as there is nothing to diff against. Instead just call
reattach() directly, we ended up doing that anyway with the existing code.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149050 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixed spec compliance issues in WebGLRenderingContext.

Moved HALF_FLOAT_OES enum to OES_texture_half_float extension where it belongs. Deleted releaseShaderCompiler entry point not in the WebGL spec. Deleted previously incorrectly modified fast/canvas/webgl/constants.html layout test. Updated related layout tests from Khronos repository under webgl/. Once Chromium starts running these tests they will pass.

BUG=234842
R=gman@chromium.org,bajones@chromium.org,jamesr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149051 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Absolutify paths to platform/text/**.

BUG=234793
TBR=abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149052 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Prepare to remove WebSecurityOrigin from IDB backend

The WebIDB backend doesn't need WebSecurityOrigin. This is
part of the effort to wean IDB's backend off of the WebKit APIs.

BUG=233361

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149053 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CSS attribute selectors cause unnecessary style recalc when setting attribute to same value.

The logic that dirties the style if there's a relevant attribute selector in the document
shouldn't run if the attribute is being overwritten with an identical value.
Move this into willModifyAttribute() instead, since we need access to both the old and the new value.

This reduces unnecessary style recalculation in Apple Store content.

Patch by Andreas Kling, WebKit r149047.

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

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