[SVG] Implement 'discard' element

Handled 'discard' element according to SVG2 specification:
http://www.w3.org/TR/SVG2/struct.html#DiscardElement

R=pdr@chromium.org, schenney@chromium.org, dschulze@chromium.org, fmalita@chromium.org
BUG=327339

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge duplicated composited layer tree rebuilding code into a helper function

It's precarious to keep the duplicated code around in case we change
it in one place but forget the other. In fact, it's possible that
already happened (hence the FIXME).

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update modules classes to use OVERRIDE / FINAL when needed

Update modules classes to use OVERRIDE / FINAL when needed. Those are useful
for error checking or performance when the compiler supports it.

R=eseidel, jochen
BUG=333316

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update inspector classes to use OVERRIDE / FINAL when needed

Update inspector classes to use OVERRIDE / FINAL when needed. Those are
useful for error checking or performance when the compiler supports it.

R=eseidel, pfeldman@chromium.org, vsevik
BUG=333316

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add missing virtual keyword for methods with OVERRIDE

Several methods are marked as OVERRIDE but they are missing the virtual
keyword. This CL explicitly marks those methods as virtual for clarity.

R=eseidel, esprehn
BUG=333316

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Regression(r164927): gcc 4.8 build with C++11 support is broken

Fix C++11 build with gcc 4.8 by moving the OVERRIDE before the
WTF_ATTRIBUTE_PRINTF(). Although clang did not seem to have trouble with it,
gcc refuses to compile unless OVERRIDE is right after the method method and
before the WTF_ATTRIBUTE_PRINTF().

R=eseidel, abarth
BUG=333316

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark several svg/dynamic-updates tests for rebaseline on XP

The previous rebaseline in 164857[1] seems to have missed these.

[1] http://src.chromium.org/viewvc/blink?view=rev&revision=164857

R=pdr@chromium.org
NOTRY=true
BUG=308818

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

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