[SVG] Remove unneeded hashmap lookup in SVGDocumentExtensions::removeResource()

No reason to check whether the id is present before calling remove(), it
just adds an extra lookup if it is.

R=pdr@chromium.org,schenney@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157719 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WebMediaSourceNew declaration.

BUG=272993
TEST=All existing LayoutTests still pass.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157720 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add SubpixelFontScaling to RuntimeEnabledFeatures

Add a SubpixelFontScaling feature to RuntimeEnabledFeatures, when
enabled fonts are allowed to be sized with sub-css-pixel precision.

Note that this feature is not enabled for any configuration at the
moment.

BUG=290411
R=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157721 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move path-arc-invalid.html into LayoutTests/svg/custom.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157722 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixed-position repaint invalidations should be sent to the correct composited layer.

When scrolling, there is logic in FrameView.cpp that sends
repaint invalidations for all viewport-constrained objects.
This logic was always sending repaints to the RenderView's
layer, and did not account for the scenario where the
non-composited fixed-position element paints into a different
composited layer.

This patch makes that code path recognize this situation,
and computes a correct repaint invalidation and sends it
to the correct composited layer so that non-composited
fixed position elements can be repainted corectly.

BUG=128375

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157723 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unnecessarily complex template from ShapeInfo classes

These classes were trying to be way too clever, and as a result were
hard to read and hard to debug. Replace the complex templated method
calls with virtual methods to make these classes much easier to
understand and maintain.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157724 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Trivial changes to default Vector sizing in the shadow area.

This enables us to lower the default size expansion of Vector from 16 to 4
without taking a performance hit on
ShadowDOM/DistributionWithMultipleShadowRoots

These changes may even make performance faster than before the default Vector
size change, but the bots will have to be the judge of that.

BUG=286696

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157725 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web MIDI: add kouhei@ to owner files for the API

BUG=none
TEST=none
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157726 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid counting properties from the UA style sheet

The current logic count properties from the UA style sheet, which is
introducing a bias in our measurement as we are only interested in
the author's style sheets and not whatever we inject.

We belive this bias is small as we cache the parsed UA style sheet
(the caching logic is quite complicated so it's difficult to give
some real number) but it still taints our numbers.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157727 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rework the way we initialize devices on Android in run-webkit-tests.

This restructures the Android port code so that we push the executables
and other files in parallel as part of port.check_build() and port.setup_test_run(),
so that we don't need to push code in the child processes when we're actually trying to run tests.

R=ojan@chromium.org, peter@chromium.org, abarth@chromium.org
BUG=276077

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157728 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add toSVGGlyphRefElement(), and use it as much as possible

This function will help to cast with type checking assertions in order to detect
bad-cast bugs.

BUG=N/A

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157729 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Skip checking type name in conversion operator.

A line starting with optional whitespaces and 'operator' is unlikely a
declaration of a new identifier. The type name after operator is
declared elsewhere. Checking of type name in conversion operator should
be skipped.

BUG=290417

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157730 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused and unnecessary margin code from RenderTable and RenderDeprecatedFlexibleBox.

Found this while working to move margin collapse code to RenderBlockFlow.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157731 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add an ASSERT that we paint a laid-out tree

This change adds an ASSERT to the 2 entry points into painting:
- FrameView::paintContent
- RenderLayerBacking::doPaintTask

This is less fragile and intrusive than adding the ASSERT to all
the painting functions.

This change also consolidates the assertion code around 2 methods
in RenderObject that are reused throughout the code.

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

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