Manage FileSystem callbacks with OwnPtr instead of refcounting

Most changes were mechanical, with the only tricky bit being in
DOMFileSystemSync::createWriter, where some code was refactored and some
ASSERTs were removed (hopefully it's safe to leave those ASSERTs out).

Also remove the ability of the code generator to create refcounted callbacks,
as modules/filesystem/ was the last codebase relying on refcounting.

BUG=323681

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163234 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations: Use Infinity instead of NaN in timeToNextIteration

BUG=325713

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163235 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Speculative crash fix on IDBRequest.

There are possibility that IDBRequest::m_requestState can already be
cleared on IDBRequest::dispatchEvent() when the execution context
is gone and IDBRequest::stop() is notified before the dispatchEvent().

No test. This is a fix based on reported crash data.

BUG=325618
TEST=none
R=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163236 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: test case + parser fix for [Constructor]

Preliminary CL for constructors:
* adds a test case (there are several related extended attributes to test)
* fixes minor bug in parser:
constructors don't have a return type of their own,
since it's just the interface, so this fixes typedef resolution
to work correctly.

BUG=239771
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163237 bbb929c8-8fbe-4397-9dbb-9b2b20218538
When table cell have inline children which change writing-mode, the cell overflows its contents.

When writing-mode is changed at block element, Blink thinks the logical
height as preferred logical width. This is done at
RenderBlock::computeBlockPreferredLogicalWidths(). However,
RenderBlock::computeInlinePreferredLogicalWidths() doesn't check
writing-mode, and just uses child's preferred logical width as preferred
logical width. If the height of a child is bigger than its prefferd
width, this make the width of table cell narrower than its child.

We should check writing-mode of inline block. If the writing-mode is
changed, we must use child's logical height as preferred logical width.

BUG=318575

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163239 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: always include ExceptionMessages.h

ExceptionMessages.h is widely included (~45% = ~300/680 generated .cpp,
10 mentions in Perl), so it's easier to just always include it,
per request of haraken@:
https://codereview.chromium.org/100473006/#msg2

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163240 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[WebSocket] Put a ref count for protection when changing m_state to CLOSED

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163242 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Nuke Profiler.setRecordingProfile protocol message

This is send only in response to start/stop commands sent on the front-end so it doesn't make sense to repeat the same to the front-end.

BUG=324769
R=alph@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163243 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Subimports should block following import scripts

TEST=import-nested-dup.html, import-nested-dup-2.html
BUG=306292
R=dglazkov,esprehn

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

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