Revert r175934 "Accelerate small canvases if Ganesh is on."

The problem with this patch is it is attempting to determine if we are
gpu rasterized by querying the compositor but compositing state may not yet
be initialized at the time the canvas is used, or may never be initialized
in some cases. This is just conceptually broken and needs to be addressed
with a different approach that doesn't query the compositor.

TBR=abarth@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176654 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: complete 2-sided migration to attach w/ id (Blink)

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176655 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove some includes from Document.h

Document.h is included a lot, so the less it includes the better. Also,
touching the removed header files will now cause less recompilation.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176656 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Code cleanup in Canvas2DLayerManager

Deleted private Canvas2DLayerManager::removeLayerFromList which was never used (and only comported asserts)

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176657 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline compositing/contents-opaque/layer-transform on Android for r176651

NeedsRebaseline doesn't work for the test because it also has
[ Timeout Pass ] expectation on Android.

BUG=381221
TBR=jamesr
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176658 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Allow XHR timeout attribute to be overridden after send(), per spec

http://www.w3.org/TR/XMLHttpRequest/#the-timeout-attribute hints that this attribute may be overridden
after a request has been sent. The web-platform-tests suite has tests verifying that this is handled
correctly, and other browsers such as Gecko-based browsers are successfully passing them, while Blink
and WebKit are not. Therefore, there is an API-compat issue.

BUG=371639

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176659 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a watchlist for device_light in Blink.

Add a watchlist for the device_light module and its layout tests
in Blink.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176660 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Inline CompositingRequirementsUpdater::isRunningAcceleratedTransformAnimation

This function is one line long and has one caller.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176661 bbb929c8-8fbe-4397-9dbb-9b2b20218538
RenderLayer::setNeedsCompositingInputsUpdate should schedule CompositingUpdateAfterCompositingInputChange

When we mark a RenderLayer as needing to update its compositing inputs, we
should schedule a CompositingUpdateAfterCompositingInputChange. Previously,
callers needed to do this manually, which was error-prone.

R=esprehn@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176662 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Improve our detection of which line an object with culled lineboxes is on.

When figuring out which linebox an object belongs to we walk through its
previous siblings looking for the first object with a linebox and use that.
If the object is preceded by a sequence of objects that have had their lineboxes
culled (but can still act as line-break objects) then we can end up using
a linebox that has nothing to do with our object. So when we select this linebox
we need to check that we didn't pass a linebreak object on both it or the one after
when walking back through our object's previous siblings. If we did then
that means our object is not sitting on the linebox we originally detected and
we need to dirty the one after it as well.


BUG=372134

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176663 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change WebTimeRange to use doubles instead of floats.

All the Chromium-side code that creates WebTimeRanges uses doubles and all
the Blink-side code that consumes WebTimeRanges use doubles, but somehow
this class didn't get updated. This change fixes the problem so that values
don't get truncated to the float range as they pass through a WebTimeRange.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176664 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rework EventSource tests for better Worker test coverage.

Follow on from https://codereview.chromium.org/340363003/ and recast
the remaining Document-agnostic EventSource tests to also be usable from
a Worker context.

R=
BUG=386520

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176665 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Blink: Adds a mechanism to pause the serviceworker startup sequence after downloading the main script and then to resume. This is to give the browser process a chance to compare the old and new script during a softupdate. 

BUG=371671

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176552

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176666 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change inline-block bidi tests to mitigate color blending

The fast/text/international/inline-block-with-mixed-direction-words.html
and fast/text/international/text-overflow-ellipsis-bidi.html fail in the
virtual antialiasedtext suite as left edge of the first character blends
slightly differently with the background due to antialiasing. By setting
a solid colored border in both the test and reference implementation
this is mitigated.

R=dglazkov@chromium.org
BUG=378610

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176667 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Protect an element while removing an attribute.

It's possible for attribute removal to do non-trivial work (e.g., in the case
of removing an iframe's src attr, which navigates the iframe to about:blank)

BUG=382279
TEST=http/tests/misc/adopt-iframe-src-attr-after-remove.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176668 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename InvalidationSelfLayout to InvalidationFull

Previously selfNeedsLayout implies full invalidation, but it has been
not true after we separated layout and invalidation requirements.

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

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

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

BUG=382817
TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176670 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove virtual/serviceworker test suite

It's no longer needed because --enable-service-worker has been removed.
This patch also removes passing expectation files for W3C harness tests,
no longer needed after https://codereview.chromium.org/328243002

BUG=365201

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176672 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't ever call mapRectToPaintInvalidationBacking past the repaint container.

In particular, don't call mapRectToPaintInvalidationBacking all the way up to
the transformed ancestor in the case of squashing.

Instead, call it up to the "repaint container" only (which in the case of squashing
is the *squashed* layer).  Then do the rest of the transformation with direct
arithmetic.

It turns out mapRectToPaintInvalidationBacking has several side effects that we do
not want.

BUG=386228

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176673 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement basic parts of hit regions on canvas2d.

Specification:
http://www.w3.org/TR/2dcontext/#hit-regions

Intent to implement:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/tRFguWa-oZc

BUG=328961

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

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