Decouple arity errors creation from throwing.

In order to reduce duplicated functions between V8Binding.h and
ScriptPromise.h, this CL adds arity error creation functions to V8Binding.h
and deletes arity error throwing functions from V8Binding.h and
ScriptPromise.h.

BUG=359411

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180137 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Cleanup: Remove getSmartClipData function from WebView API.

This function is only implemented by blink_web, but not called by
anyone, anywhere.

There are not callers of it on Blink nor on Chromium.

This fixes the TODO in WebView.h

BUG=None
TEST=None
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180138 bbb929c8-8fbe-4397-9dbb-9b2b20218538
WorkerThread should not start execution if WorkerThread::stop is already called

If WorkerThread::stop is already called, WorkerThread::initialize should return immediately without starting the thread execution.

BUG=403179
TEST=none (it's timing-dependent)

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180139 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Fix RawPtr to Member in MediaKeySession::PendingAction

BUG=402766, 403121
NOTRY=true

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

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