Factor out common code for calling didReceiveMessageError() in MainThreadWebSocketChannel

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169099 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Let FrameSelection remember the last Range set by Range.addRange().

This patch fixes a long-standing editing bug that a Range object returned by
Selection.getRangeAt() may not be equivalent to the Range used to set selection
with Range.addRange().

Core strategy of this patch is to cache the Range object previously set
by Range.addRange() in FrameSelection. The cached Range will be discarded
when the underlying VisualSelection object changes.

BUG=346613

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169100 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Android, video: clean-up WebMediaPlayerClientImpl::paintOnAndroid().

Android doesn't support WebMediaPlayer::LoadTypeMediaStream so change "if
statement" to ASSERT. See WebMediaPlayerAndroid::load().

Remove unnecessary OwnPtr<WebGraphicsContext3DProvider> object construction.

BUG=349871

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169101 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make HeapSupplementable a GC mixin.

In case we decide to hole members to Supplementable structures we need to adjust before marking.
Also, this restructures the base classes of Supplement and Supplementable to only define trace in the on-heap case.

R=ager@chromium.org
BUG=

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

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