Delete useless code in RenderLayer::calculateLayerBounds

This code can't do anything because there's no way to get behind the document
element. It's always promoted to be a stacking context.

R=esprehn@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170798 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Shapes] CRASH with calc() value args in inset round

The code to parse the inset rounded corners was adding the parser
value arguments to a temporary CSSParserValueList. Unfortunately,
CSSParserValueList expects to own the values it contains, and it frees
the values it contains when the list is destroyed. This was a problem
because the values are owned by the CSSParserValueList passed in to
parseInsetRoundedCorners, and thus the calc's argument list would get
double freed, resulting in a crash. This patch fixes this by using a
Vector to hold the pointers instead.

This is a merge of http://trac.webkit.org/changeset/166726 by Bem Jones-Bey <bjonesbe@adobe.com>.

BUG=350055

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170799 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Stop passing the root node to node lists traversal functions

Stop passing the root node to node lists traversal functions. Their
implementation can call LiveNodeListBase::rootNode() if needed and do not
really need it to be passed in argument.

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

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