Error reporting in keyframes and media queries.

BUG=140608

Review URL: https://chromiumcodereview.appspot.com/17289002

git-svn-id: svn://svn.chromium.org/blink/trunk@152955 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify Node::isDescendantOf TreeScope check

Node::isDescendantOf has a round about way of checking that two nodes are
in the same TreeScope so when doing document.contains(node) where node
is in a ShadowRoot it returns false. This can be greatly simplified and
we can make a.contains(b) O(1) when a and b are in different ShadowRoots
or Documents.

Review URL: https://chromiumcodereview.appspot.com/17582011

git-svn-id: svn://svn.chromium.org/blink/trunk@152956 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix indentations and style in platform/graphics.

In several files there was indenting inside the namespace block.
All have been fixed, plus some other style issues. No functional
change at all.

R=jbroman@chromium.org,senorblanco@chromium.org
BUG=250932

Review URL: https://chromiumcodereview.appspot.com/17341013

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