Remove CSSTransformsUnprefixed runtime flag (status=stable)

We're now shipping css transforms unprefixed and there's no reason to
keep the RuntimeEnabledFeatures flag around.

BUG=154772

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move ownership of ScopedStyleResolver to TreeScope

This removes all the reparenting and tree maintenance logic in favor of
traversing up the tree whenever asking for the parent. If this proves to
be too slow we should just keep a stack of resolvers inside style resolve.

Unfortunately we still need to keep the map for now to allow clean up of
the ScopedStyleResolvers whenever the StyleResolver is discarded to avoid
having free'd CSSStyleSheets in the old resolvers. Eventually we should be
able to fix that by adjusting the lifetime of the sheets.

BUG=392018
TEST=no layout test failures.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178795 bbb929c8-8fbe-4397-9dbb-9b2b20218538
First round of updates in response to commenting out stale expectations.

This deletes a few tests which sound like they're wrong/buggy, and requests
rebaselines for a variety of others (or marks them expected-to-fail for
reftests).  It also restores the stale expectations for a few tests where that's
the most appropriate action.

BUG=7482,23476,243248,243732,338804,378610,396936,396940,396941,396945
TEST=none
TBR=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178796 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 178571 "Teach ContentSecurityPolicy about WebURLRequest::..."

Due to bug 396582.

> Teach ContentSecurityPolicy about WebURLRequest::RequestContext.
> 
> Rather than using `Resource::Type` to make decisions about what CSP
> directive to apply to a resource request, we should be using
> WebURLRequest::RequestContext. This patch teaches ContentSecurityPolicy
> to correctly compare a URL against the right policy directive when given
> a 'ResourceContext', and pipes the value through
> 'ResourceFetcher::canRequest' to make sure its available when it needs
> to be.
> 
> BUG=390497
> 
> Review URL: https://codereview.chromium.org/398313002

TBR=mkwst@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178797 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Switch webkit_unit_tests to use the new test launcher.

BUG=290597
R=eseidel@chromium.org, phajdan.jr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178798 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: WebAudio: Replace connection-references with Member<>s, and remove AudioNode::m_keepAlive.

In non-Oilpan, we need to add AudioNodes with no reference counts
to a list in the owner AudioContext, then the AudioContext cleans
them up later in the main thread because reference counts can be
zero in audio rendering thread and we want to avoid expensive
tasks in audio rendering thread. In Oilpan, we don't need such
list, and objects created in the main thread are always finalized
in the main thread.

This CL removes AudioNode::m_keepAlive. It didn't work well
because m_keepAlive was cleared only when deref() is called, and
we had RefPtrs and Members to AudioNode objects. This CL remove
all of RefPtr<AudioNode> in Oilpan.

AudioNode cleanup needs its owner AudioContext object. So we
apply the weak HashMap pattern, and introduce AudioNodeDisposer
class to call AudioNode::dispose() before AudioNode destruction.

* Replace RefPtr<> with Member<>.
 - Update AudioBufferSourceNode::m_pannerNode
 - Remove AudioContext::addDeferredFinishDeref
 - Update AudioContext::handleDeferredAudioNodeTasks
 - Remove AudioNode::m_keepAlive, and clearKeepAlive
 - Remove AudioNode::m_normalRefCount
 - Update AudioNodeOutput::m_inputs
 - Remove AudioNode::ref, and deref

* Delete delayed destruction of AudioNode in Oilpan
 - Remove AudioContext::m_isDeletionScheduled
 - Remove AudioContext::m_nodesToDelete
 - Remove AudioContext::scheduleNodeDeletion
 - Remove AudioContext::markForDeletion
 - Remove AudioContext::deleteMarkedNodesDispatch
 - Remove AudioNode::m_isMarkedForDeletion
 - Remove AudioNode::finishDeref

* Apply weak HashMap pattern to finalize AudioNode.
 - Add AudioContext::m_liveNodes
 - Add AudioContext::registerLiveNode
 - Add AudioContext::AudioNodeDisposer

BUG=389041, 392788

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178799 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Build fix after r178795

TBR=tkent@chromium.org

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

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