WebString::data() should be private

WebString::data() is a memory footgun because it causes the underlying string
to be upconverted from 8 to 16 bits, meaning it takes 24 bits per character to
represent. This CL makes WebString::data() private as a prelude to deleting it.

TBR=eseidel

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151353 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Content Shell crash running virtual/gpu/fast/hidpi/image-set-background-dynamic.html on win

Add Crash expectation for this test.

TBR=jochen@chromium.org
BUG=244735

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151354 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "WebString::data() should be private"

Broke win build http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20Builder/builds/39389/steps/compile/logs/stdio

TBR=abarth@chromium.org
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151355 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use V8ScriptRunner::callInternalFunction in PageScriptDebugServer

This is one of steps to aggregate call sites of Function::Call.

R=abarth,eseidel
BUG=241743
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151356 bbb929c8-8fbe-4397-9dbb-9b2b20218538
compositing/video-frame-size-change.html is flaky timeout on win

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=compositing%2Fvideo-frame-size-change.html

TBR=jochen@chormium.org
BUG=244739

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151357 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use V8ScriptRunner::callInternalFunction in V8ArrayBufferViewCustom

This adds a MicroTaskSuppression scope that is missing in the current
implementation.

R=abarth@chromium.org
BUG=241743
TEST=webgl/

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151358 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use V8ScriptRunner::callInternalFunction in NPV8Object

This is one of steps to aggregate call sites of Function::Call.

R=abarth@chromium.org
BUG=241743

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151359 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Optimize RenderText::offsetNext for 8 bit strings

Previously, this function was always upconverting strings to 16 bits in order
to create a cursorMovementIterator. This CL adds a fast path for ASCII and
Latin-1 strings, which don't need this complicated cursor movement logic.

After this CL, upconverting falls off my profile of Mobile Gmail completely.

R=eseidel,ojan

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151360 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use V8ScriptRunner::callFunction in ScheduledAction

This is one of steps to aggregate call sites of Function::Call.

R=abarth,eseidel
BUG=241743
TEST=fast/workers/

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151361 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Build WebOrigin as DLL in component build

This builds the code in weborigin/ as a DLL in the component (shared library) build. This (slightly) reduces the size of webkit.dll and makes it possible to create DLLs for other components that use weborigin.

R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151362 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix ResourceLoadTiming Resolution Issue 3rd step - remove old fields

This is 3rd step to Fix ResourceLoadTiming resolution issue, remove old fileds
and macros from blink, the new will be used as default.

Contributed by pan.deng@intel.com

BUG=242452

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151363 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Try to reduce flakiness in transition tests

There was a cryptic comment that implied a single setTimeout(..., 0)
was sufficient to wait for accelerated animations to start. Under
content shell this no longer seems to be the case.

In order to detect the start of CSS Animations, waiting for the
animationstart event is sufficient. But for CSS Transitions no such
event is fired. Instead we can poll the internal numberOfActiveAnimations
API to detect a transition start.

BUG=244128,243888

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151364 bbb929c8-8fbe-4397-9dbb-9b2b20218538
transitions/steps-timing-function.html is flaky on Win7 release

TBR=jochen@chromium.org
BUG=244129

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151365 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Adding hayato@chromium.org to OWNERS list.

BUG=none
TEST=none
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151366 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use V8ScriptRunner::callInternalFunction() in DateExtension

This is one of steps to aggregate call sites of Function::Call().

R=abarth,eseidel
BUG=241743
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151367 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [HeapProfiler] fix flakiness in heap-snapshot-inspect-dom-wrapper test.

Heap profiler sees different number of HTMLBodyElements in the heap from run to run.
Sounds like we do not force GC between tests.

BUG=none
TEST=itself
R=yurys@chromium.org

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

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