Remove fowarding headers from TestWebKitAPI

There's no reason for TestWebKitAPI to have forwarding headers. This CL removes
them.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148502 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify the code generated for allocations on non-Mac platforms.

This is the remainder from https://codereview.chromium.org/14006002, part of
which was not landed in the end due to a few classes in WTF and WebCore wanting
to mix "malloc" with "delete".

For some reason, I'm not seeing the original 4k saving in Release DumpRenderTree
size any more. But a Debug DumpRenderTree went from 107MB -> 104MB on Linux x64.

The problem of some classes wanting to mix "malloc" with "delete" was handled
by simply identifying them and tagging them specially, so that we override
operator new and operator delete even on non-Mac platforms.

R=eseidel@chromium.org
BUG=none
TEST=Tests still pass in debug build.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148503 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix presubmit checks so that we lint the TestExpectations files more often.

We were only checking for lint errors when we modified the TestExpectations
files themselves; however, it is possible for changes to other files under
LayoutTests/ to also introduce errors, so we should run the check more often.
Fortunately, linting the files is pretty fast.

R=jchaffraix@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148504 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add temporary float cast to MediaSourcePrivateImpl::duration().

This cast was accidentally left out of the previous patch that added the
truncation code
(https://src.chromium.org/viewvc/blink?view=rev&revision=148412).
The cast is needed so that durations fetched through
WebMediaPlayer::durationFloat() exactly match the values returned by
MediaSourcePrivateImpl::duration(). The former goes through a
double -> float -> double conversion sequence so we need to replicate
that in the later.

BUG=227156
TEST=Existing LayoutTests still pass. No functional change since this cast is currently
happening in Chromium code as well.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148505 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Performance Timeline] Use WebIDL sequence<> for entry list

sequence<> wasn't available when we first added Performance Timeline. We fail
some of the submitted W3C tests, because PerformanceEntryList didn't behave as
the WebIDL says it should.

After this CL (and unprefixing) these tests all pass:

http://w3c-test.org/webperf/tests/approved/UserTiming/

BUG=232127

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

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