WebAudio: Use references instead of pointers in AudioNodeInput and AudioNodeOutput.

We can remove some unnecessary assertions and null checks.

BUG=392788
TEST=none; No behavior changes

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178033 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ServiceWorker: unregister's scope argument should be optional

Bring implementation in line with the latest spec edits: the |scope|
argument to unregister() should be optional and default to '/*'.

R=dominicc@chromium.org,michaeln@chromium.org,falken@chromium.org
BUG=388044

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178034 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Split V8RecursionScope into core and modules.

Register didLeaveScriptContext for modules with ModuleProxy and
invoke the function in V8RecursionScope::didLeaveScriptContext() in core.

BUG=358074

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178035 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactoring: Make ~CSSStyleSheetResource empty.

Introduce Resource::dispose, which is called before |delete this|, and
move the content of ~CSSStyleSheetResource to CSSStyleSheetResource::dispose.

This makes Resource class Oilpan-friendly.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178036 bbb929c8-8fbe-4397-9dbb-9b2b20218538
FileSystem: Move SnapshotFileCallback into FileSystemCallbacks.h

This move also fixes the bug for FileEntry.file() operation.

BUG=370100
R=kinuko@chromium.org, nhiroki@chromium.org, yurys

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178037 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update FlakyTests to match current flakiness dashboard results

Automatically generated using:
webkit-patch update-flaky-tests

BUG=
TBR=ojan

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178038 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Document.body should check interface type and be nullable

SPEC: http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#document

This CL enabled an interface type checking on setter of Document.body
and a nullable type to body attribute as per specification.

In addition, with this change, a failed test case will be passed in
http://w3c-test.org/html/dom/documents/dom-tree-accessors/document.body-setter-01.html

TEST=LayoutTests/fast/dom/setter-type-enforcement.html

Behavior in other browsers:
*)FF: PASS
*)IE: FAIL

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178039 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: make paint profiler target-aware

- introduce WeakReference, that is cleared when its
    host is disposed;
- pass target around as a WeakReference, so that when
    the target is disposed, the caller won't be able to
    use stale object;
- replace direct calls to LayerAgent's paint profiler
    methods with calls to PaintProfilerSnapshot;

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

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