Make LayoutDelta do nothing when RepaintAfterLayout is active.

This CL, essentially, removes the LayoutDelta code when we have repaint-after-layout
enabled. When repaint-after-layout is enabled and the flag removed we can rip out
the LayoutDelta code at the same time.

This CL lets us verify that everything continues to work correctly without LayoutDelta.

BUG=310397

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165683 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove RenderTheme::hasOwnDisabledStateHandlingFor().

RenderThemeChromiumSkia and RenderThemeChromiumMac always return true, which means we can eliminate a lot of dead code in MediaControls that had to handle the false case.

As a result MediaControls::reportedError() can be removed entirely since it no longer does anything and MediaControls::loadedMetadata() can be replaced with MediaControls::reset().

BUG=337015

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165684 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: sync Python to r165630

Python side to:
Rename [GenerateVisitDOMWrapper] to [SetWrapperReferenceFrom]
https://codereview.chromium.org/143463013

Also minor refactoring and rectification of names in:
ext_attributes_node_to_extended_attributes

BUG=239771
TBR=haraken
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165685 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: sync Python to r165635

Python side to:
Remove world type from hasInstance()
https://codereview.chromium.org/125043004

BUG=239771
TBR=haraken
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165686 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[FastTextAutosizer] Use the deepest block that contains text for width

This patch makes the cluster multiplier calculation use the width of
the deepest block containing text for a cluster instead of the cluster
root's width. For example:
<div width="500"> <-- cluster root
  <div width="100">
    text
  </div>
</div>
Previously, the cluster would use a width of 500 but with this patch
a width of 100 is used. This improves our rendering on the lca
tests.

Unfortunately, the width of child render objects is not available at
style recalc time (when FastTextAutosizer::record is called). This
patch refactors the cluster multiplier calculation to be lazy so that
it is not calculated until after style recalc. computeMultiplier has
been renamed clusterMultiplier to better describe this laziness.

With this patch we pass 2 additional tests, and fail 1 that we
erroneously passed before.

NOTRY=true
R=skobes
B=302005

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165687 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable subframe loading in unloaded documents.

Allowing these loads is problematic when swapping out a render
process. We filter out most IPCs from a swapped out renderer,
but creating a new subframe requires sending an IPC to browser.
The simplest thing to do here is to just disable subframe
loading, since these frames will be immediately destroyed
anyway.

BUG=336014

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165688 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Begin removing the style recalc timer

This CL starts us down the path of removing the style recalc timer. Instead of
actually removing the timer, this CL adjusts when we schedule the timer to
match when we'll schedule the animation frame after we remove the recalc timer.

BUG=337617

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165689 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WGC3D::create/destroyStreamTexture

This was removed in chromium r246673.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165690 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reland "Put resource timing events on a timer when triggered by a cache hit."

Stash state from the Resource* synchronously, so that it doesn't still have to be alive when the timer fires.

BUG=327065
TEST=http/tests/misc/cache-hit-resource-timing-buffer-full-crash.html

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165691 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Grid Layout] handle undefined RemainingSpace in computeUsedBreadthOfGridTracks algorithm

The spec defines a different code path for the
computeUsedBreadthOfGridTracks algorithm
http://dev.w3.org/csswg/css-grid/#function-ComputeUsedBreadthOfGridTracks.
The current code has a FIXME that mentions this missing piece in our
implementation.

Basically the track breadth is different when the available size is
undefined and thus, cannot be taken into account during the computations.
The available size is undefined whenever the height is auto or the grid
element has a shrink-to-fit behavior.

It would be also a good idea to rename the function to match the specs so
the function name will start with compute instead of computed.

BUG=331531

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165692 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix arithmetic mode when filter primitive subregion is applied.

BUG=337576

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165693 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename registerFormElement, removeFormElement, registerImgElement, and removeImgElement of HTMLFormElement.

These names are not good.
 - "register" and "remove"
   They should be register-unregister, or add-remove.
 - "FormElement" is confusing. It should be form-associated element, form
   control, or something.

This CL simplifies them:
 - registerFormElement -> associate
 - removeFormElement -> disassociate
 - registerImgElement -> associate
 - removeImgElement -> disassociate

We have a plan to stop updating element lists in register*Element and
remove*Element. So using "register" and "remove" will be inappropriate.

Also, this CL changes their pointer arguments to references because
these arguments never be null.


BUG=334556
TEST=none; no behavior changes.

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

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