Address a FIXME in RenderBlockFlow::layoutBlock()

Instead of making layoutBlockChildren() and layoutInlineChildren() add the before border and padding independently of each other, let layoutBlock() do it. As part of this insulate checkForPaginationLogicalHeightChange()'s manipulation of the logical height from the logical height stored for the block and remove an unnecessary additional calculation of the 'before' edge offset from layoutBlock. Since RenderSVGText re-implements layoutBlock it needs access to some private functions from RenderBlockFlow; remove the artificial mechanism for providing these through a protected helper function and let RenderSVGText calculate the before border/padding values too.


BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164370 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Set m_nextBreakablePosition as private in InlineIterator, and use it

InlineIterator has been exported m_nextBreakablePosition as public though it is member variable.
This patch set it as private, and add getter/setter functions for it.

Merge from WebKit r160413.

BUG=N/A

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164371 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Minor cleanup in PageSerializer::serializeFrame.

Remove unused local variable, move variable definition closer to where
it is used.

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

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