Avoid forcing layout on children with orthogonal flow

Flexbox always sets an override size on its children, and
keying off that, we force layout in preferredMainAxisContentExtentForChild
to get the preferred logical height. This patch caches that
value, and only re-lays out the child when necessary.

The original version of this patch was authored by abarth,
whose original patch uncovered a bug that was masked by
the additional layout. resetAutoMarginsAndLogicalTopInCrossAxis
previously reset the logical top but not auto margins.
This would cause us to double-count cross-axis margins
later on.

BUG=333116

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165162 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add myself to rendering watchlist.

NOTRY=true
TBR=dsinclair@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165163 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removed unused isContainedInParentBoundingBox method

This method was added in a hack to fix a link highlight issue. Now that
it's been fixed in r165024 this method is no longer needed.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165164 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix an uninitialized read in shouldBeSelfPaintingLayer

https://codereview.chromium.org/125043002 allowed the code
to read m_isOverflowOnlyLayer in the RenderLayer constructor
before it is set. The uninitialized read should not yield to
any bad behavior as we always call the style change logic on
a new layer, which recomputes m_isSelfPaintingLayer, after
setting m_isOverflowOnlyLayer.

BUG=333564

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165165 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove HTMLMediaElement::updateActiveTextTrackCues log statement.

Remove an annoying log statement that prints all the time during the
lifetime of the HTMLMediaElement, but doesn't provide any value 99.999%
of the time.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165166 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Stop RenderLayerScrollableArea from repainting during layout.

Currently the RenderLayerScrollableArea will repaint its containing box
during layout when it knows the scrollbars have changed. We don't need to do
this repaint in the case of repaintAfterLayout as long as we record the
layout rects for the containing box.

BUG=310398

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

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