Move the generation and inclusion of RuntimeEnabledFeatures to blink_platform.dll since many pieces of platform depend upon this.  Modified the gyp build system and core accordingly.

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160613 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use asynchronous spellcheck path in layout tests

As a part of 295722 bug, this change partially deprecates a sync code
path for spellcheck in layout tests in a favour of its asynchronous version
that is planning to be enabled by default.

This commit adapts the following layout tests:
    editing/spelling/design-mode-spellcheck-off.html
    editing/spelling/grammar-edit-word.html
    editing/spelling/grammar.html

The other tests require more changes and I suggest committing them
separately.

BUG=295722

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160614 bbb929c8-8fbe-4397-9dbb-9b2b20218538
XSSAuditor should catch reflected srcdoc properties even without an <iframe> tag injection.

BUG=310990
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160615 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Resource Timing] Memory cached resources should be reported on first use.

BUG=230886

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160616 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove calls to clearStyleSharingList from Internals

We don't need to call clearStyleSharingList() inside Internals now
that we always lazy attach. These calls were because we used to
add elements to the style sharing list inside the parser and then
needed to clear them from the list for GC tests. Now that we always
lazy attach the list only lasts as long as recalcStyle so the
sharing list can't impact GC tests.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160617 bbb929c8-8fbe-4397-9dbb-9b2b20218538
dumpAsText() is unnecessarily called in spellchecking tests

dumpAsText is already called either by notifyDone (js-test-post.js) or
by finishJSTest() when asynchronous spell checking is used.

This is mostly WebKit changeset: http://trac.webkit.org/changeset/157949

In addition, remove dumpAsText and notifyDone from Blink's spellchecking
tests where they should not have been added.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160618 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Devirtualize several mediastream class destructors

Devirtualize several mediastream class destructors as these classes are never
subclassed, nor do they have any virtual method. This avoids creating unnecessary
vtables.

BUG=311561

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160619 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove SpeechSynthesisVoice's virtual destructor

Remove SpeechSynthesisVoice's destructor as it was empty and marked as virtual.
This avoids creating an unnecessary vtable as this class is never subclassed,
nor does it have any virtual function.

BUG=311561

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160620 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make StyleSharingList store raw ptrs

The list only exists as long as the inner block of Document::recalcStyle
and no DOM mutations can occur inside there so it's safe to store raw
pointers instead of RefPtrs.

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

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