Oilpan: have ScriptStreamingTest correctly trace its PendingScript.

As testing::Test is not on the heap, accommodate Oilpan by wrapping up
ScriptStreamingTest's PendingScript (a part object containing a Member)
inside an object that is on the heap & use a Persistent to refer to it
from ScriptStreamingTest.

R=ager
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182136 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CanvasRenderingContext2D should update the render tree to avoid stale computed style.

Before accessing the computed style for populating 'font' property of CanvasRenderingContext2D
we have to make sure we have a up-to-date render tree to avoid any stale reference.

BUG=411058

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182137 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add HitRegionOptions IDL dictionary

To replace generic Dictionary. Renamed existing HitRegionOptions
struct to HitRegionOptionsInternal to resolve name conflict.
The spec[1] doesn't contain |path| and |fillRule| members, but
this CL added them because the current implementation uses them.
This CL also removed unused addHitRegion() which doesn't take
HitRegionOptions.

Tests under fast/canvas cover this change.

[1] http://www.w3.org/TR/2dcontext/#hitregionoptions

BUG=403150

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182138 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web SQL: Merge DatabaseBackendBase into DatabaseBackend.

We remove DatabaseBackendSync. This abstraction is unnecessary.

BUG=397429

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182139 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Use absolute range in CSSPropertySourceData.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182140 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change MediaStreamTrack::getSources to go through UserMediaClient.

This makes MediaStreamTrack::getSources go through UserMediaClient instead, needed to know which frame the call came from.

Depending on:
Blink CL part 1: https://codereview.chromium.org/560843002
Chrome CL part 1: https://codereview.chromium.org/562643003/
Chrome CL part 2: https://codereview.chromium.org/564423002/

BUG=406094

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182141 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Documentation] Remove approximate URL-creating method

Now we use only data downloaded from webplatform.org to create a URL for the documentation. 
Auto-loading will be removed in next patch when we add an extension for documentation module.

BUG=391593

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182142 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark 3 media tests as crashing on android following r182133

TBR=dpranke,rob.buis@samsung.com
BUG=415039

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182143 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Add RawPtr version of DictionaryHelper::get for Path2D.

TBR=bashi@chromium.org, sigbjornf@opera.com
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182144 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused sourceData variable in InspectorStyleSheet.

Breaks build for targets that treat unused variables as errors.

R=dgozman@chromium.org, vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182145 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Adjust the stack limit for V8 using the new Isolate::SetStackLimit API

The SetResourceConstraints API is deprecated and will be removed

BUG=none
R=svenpanne@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182146 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[ServivceWorker] Treat rejecting respondWith as a Network Error

Chromium side change is this: https://codereview.chromium.org/574643003/


BUG=411173
TEST=layouttest http/tests/serviceworker/

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182147 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Have window.closed return true when frame is closed.

This Window property currently returns true once the Frame it is attached
to is destroyed, which exposes an object memory management detail that's
hard to emulate with Oilpan.

Switch instead to having "closed" return true once the frame is externally
closed or the (i)frame is removed&detached.

Adjust tests to check for this instead -- no indication that this slight
adjustment in behavior will pose a compatibility problem.

R=haraken,ager,mkwst,tkent
BUG=414658

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182148 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark http/tests/serviceworker/fetch-access-control.html as timing out

TBR=dpranke,horo
BUG=415089

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182149 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Documentation] Fix bugs of WikiParser.

WikiParser doesn't work right in cases of meeting opening brackets ([ or [[) and tables ({{{!}}). 

BUG=391593

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182150 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make FontFace ActiveDOMObject

This prevents V8 wrapper of FontFace objects from getting garbage
collected while loading. This is necessary because the "loaded" attribute
uses ScriptPromiseProperty and it needs the FontFace wrapper to be alive
to deliver the Promise resolution/rejection.

BUG=413901
TEST=fast/css/fontface-load-promise-after-gc.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182151 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Eliminate SVGTextRunRenderingContext::m_activePaintingResource

With geometry being emitted independently from the paint server setup, it
becomes possible to just rely on the current state of the GC when
painting SVG font text (which in turn allows us to make stricter
assumptions with more confidence elsewhere.)

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182153 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make style building for 'font-size' less custom.

This change adds a FontDescription::Size structure which represents a
(specified) font size in transit. The conversion from CSSValue* to
font size (now FontDescription::Size) has been moved to
StyleBuilderConverter. This reduces the dependency on RenderStyle/CSSValue
in FontBuilder.

Keyword sizes are now resolved into actual float sizes in FontBuilder::
setSize. This happens only if the FontDescription::Size has a keyword size,
but has no float value size. The idea is that if both a keyword size
and float value size is provided from the outside, it means we inherit
the "entire" Size as-is, and no re-resolving of the keyword size is
necessary.

The m_fontSizehasViewportUnits flag has been removed. StyleBuilderConverter
is now marking the relevant style directly (more or less) during conversion
instead.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182154 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix Skia includes in AcceleratedImageBufferSurface.

Previously including SkGpuDevice.h which wasn't really public.
Also the implementation here does not use anything from that header,
instead using that header to pull in other headers.

This change removes the SkGpuDevice.h include and the adds back the
actual includes which appear to be required.

TBR=kbr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182155 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Documentation] Add parsing for italics text in double quotes

BUG=391593

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

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