Remove crypto/ from TestExpectations as expected crashes.

TBR=rjkroege@chromium.org
BUG=280560

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156869 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix computed style of SVG fill/stroke properties on references

This is a merge of http://trac.webkit.org/changeset/154628 by
Rob Buis <rwlbuis@webkit.org>.

This patch changes the computed style of the fill and stroke properties
on references to include the url() function.

No new tests, updated existing tests to correctly match the feature.

BUG=232886

Review URL: https://chromiumcodereview.appspot.com/23614004

git-svn-id: svn://svn.chromium.org/blink/trunk@156870 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Cut down repeated code in RefPtr by using copy/move-and-swap for assignment operators

Extract from WebKit patch by Darin Adler <darin@apple.com> r154519.

RetainPtr is not modified because it requires some preliminary refactoring before that.

Review URL: https://chromiumcodereview.appspot.com/23666004

git-svn-id: svn://svn.chromium.org/blink/trunk@156871 bbb929c8-8fbe-4397-9dbb-9b2b20218538
TestExpecations: inspector-protocol/layers/get-layers.html LayoutTests flaky

BUG=280658
TBR=rjkroege@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156872 bbb929c8-8fbe-4397-9dbb-9b2b20218538
make NewDeviceOrientationController a DOMWindowLifecycleObserver (like DeviceMotionController)

Note that NewDeviceOrientationController is not currently used, but it will eventually replace core/dom/DeviceOrientationController. This patch is part of that larger effort. Before that can happen, we will need to make the following additional changes:

1. Remove all code specific to DeviceOrientationController from DOMWindow::addEventListener, DOMWindow::removeEventListener, and DOMWindow::removeAllEventListeners. Those methods already call lifecycleNotifier() methods, which NewDeviceOrientationController will hook into (thanks to this patch). No device orientation-specific code will be required in DOMWindow.

2. Add code in Source/web/FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld to construct the NewDeviceOrientationController if the feature is enabled. Code is already there to construct a DeviceMotionController; use that as a model.

BUG=

Review URL: https://chromiumcodereview.appspot.com/23447005

git-svn-id: svn://svn.chromium.org/blink/trunk@156873 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename ScopeContentDistribution to ShadowRootRareData and merge methods into ShadowRoot

Merge methods on ScopeContentDistribution that really belong on ShadowRoot into it
and stop callers from reaching into the internal state of ShadowRoot. Instead there
should be an API. Once those changes were made it became clear that
ScopeContentDistribution is really just rare data for a ShadowRoot so rename the
class as well.

This lets us also shrink all shadow roots that had a ScopeContentDistribution before
since we can move the bitfield for the dirty child insertion point list into the bitfields
on ShadowRoot.

Review URL: https://chromiumcodereview.appspot.com/23539004

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