Add const qualifiers, miscellaneous cleanup.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165569 bbb929c8-8fbe-4397-9dbb-9b2b20218538
stop() can be called more than once in WebAudio

The W3C audio group has decided to allow stop() to be called more than
once.  The last call to stop() is the one that takes effect, unless
a previous call has caused the source to stop. No exception is thrown
in any case.

Removed test cases that expected multiple calls to stop to throw
exceptions.

BUG=324652

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165570 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG] Const-ify resourceBoundingBox()'s argument

Minor cleanup, to remove an unnecessary const-cast in
SVGRenderSupport::intersectRepaintRectWithResources().

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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165571 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move GeolocationClientMock to modules. Use internals instead of TestRunner.

This is part of the effort to remove dependencies from core to modules.
Next step is to remove the old code from TestRunner and delete 
WebGeolocationClientMock and its friends.

BUG=336263

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165572 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Increase the limit on number of audio contexts from 4 to 6.

BUG=336464

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165573 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor calculation of hasRx and hasRy values in SVGPathData

This is a merge of http://trac.webkit.org/changeset/162537 by Peter
Molnar <pmolnar.u-szeged@partner.samsung.com>.

This patch is a followup to a Blink patch by Mrunal [1] which I
reviewed. In merging that patch to WebKit, Darin pointed out the code
could be cleaner [2] and I'm making that change back in Blink as well.
The actual code change is to not read rx and ry twice.

[1] https://src.chromium.org/viewvc/blink?revision=152376&view=revision
[2] https://bugs.webkit.org/show_bug.cgi?id=127337#c4

No change in behavior as this is just a trivial refactoring.

BUG=336897

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165574 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove multiple client support from HTMLImportChild

This reverts r164060 because it turned out that it never has
two or more clients.

TEST=none
BUG=none
R=haraken@chromium.org, haraken, tkent

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165575 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a truncated WebP bitstream to test resources

This image has 1 less byte than the size mentioned in the RIFF header.

This corresponds to https://code.google.com/p/webp/issues/detail?id=185
and will be used to test the subsequent patch.

TBR=jzern

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165576 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use floats in HarfBuzzShaper for word and letter spacing

Blink r153727 added support for fractional values for word and
letter spacing to Blink. These values were being truncated in
HarfBuzz's complex text path down to integers, leading to
layout issues. Changing the values to floats so text is properly
measured by HarfBuzzShaper.

BUG=336358

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

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