Update LeakExpectations wrt shared worker tests.

Sync expectations after r177178.

TBR=kouhei@chromium.org
BUG=364390
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177205 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix RefPtr's move assignment operator

Fix RefPtr's move assignment operator so that the moved RefPtr is always
null after the assignment. Because the previous implementation was not
swapping with a temporary variable, this wasn't necessary the case and
this behavior is unexpected.

Thanks to Mikhail Pozdnyakov for pointing this out.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177206 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Roll Closure compiler to d8f30cda5f, enforce member access checks

This patch enforces the visibility checks for members annotated with
@private and @protected, as well as starting with a single underscore ('_'),
which means a private type member.

R=vsevik@chromium.org, sergeyv, vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177207 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Some inline ARM assembly for saturated arithmetic and a small speed-up
for the C version of saturated add and subtract. Created a unit test for
setting a saturated value.

Benchmarking using rasterize_and_record_micro.key_mobile_sites on a
Nexus7 recorded a consistent drop in RasterizeAndRecordMicro:record_time
from 5.18ms to 4.93ms (~5% improvement).

BUG=325746

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177208 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removed MediaQueryEvaluator creation and deletion from MediaQueryMatcher

This CL changes the creation pattern of MediaQueryEvaluator inside MediaQueryMatcher,
to prevent useless allocation and deletion.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177209 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Basic support of multiple targets in Heap profiler

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177210 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unflaky inspector/timeline/timeline-script-tag-1.html

It was UpdateCounter event which might arrive from gpu thread.
I filtered it out because it is not the thing we test here.

BUG=384956

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177211 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Some inline ARM assembly for saturated arithmetic, a small speed-up for (https://codereview.chromium.org/346913004/)

Reason for revert:
Looks like this isn't compiling on android_clang_dbg (needed for the roll into chromium); reverting for now.

http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/157031/steps/compile/logs/stdio

Original issue's description:
> Some inline ARM assembly for saturated arithmetic and a small speed-up
> for the C version of saturated add and subtract. Created a unit test for
> setting a saturated value.
> 
> Benchmarking using rasterize_and_record_micro.key_mobile_sites on a
> Nexus7 recorded a consistent drop in RasterizeAndRecordMicro:record_time
> from 5.18ms to 4.93ms (~5% improvement).
> 
> BUG=325746
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177208

TBR=bulach@chromium.org,skyostil@chromium.org,schenney@chromium.org,picksi@google.com,eseidel@chromium.org,eae@chromium.org,picksi@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=325746

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177212 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of DevTools: Debugger StepInto/Out/Over initiated from a framework should not black-box it. (https://codereview.chromium.org/342713002/)

Reason for revert:
live-edit.html is failing in a batch of tests.

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&showLargeExpectations=true&showExpectations=true&tests=inspector%2Fsources%2Fdebugger%2Flive-edit.html

Original issue's description:
> DevTools: Debugger StepInto/Out/Over initiated from a framework should not black-box it.
> 
> BUG=267592
> R=yurys, pfeldman@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177170

TBR=pfeldman@chromium.org,yurys@chromium.org,aandrey@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=267592

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177214 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update an Element's ancestor chain at the end of its activation

In the course of the an Element being activated, there is a possiblity
of the Element loosing its renderer (display: none being set on :active).
At the end of the activation, the element and its ancestor chain need to
be updated, so that the styles get reapplied. The current code skips the
last part if the active element did not have a renderer.

BUG=139660
TEST=fast/css/clear-activechain-list.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177215 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Reset pageScaleFactor and scroll offsets when emulating device.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177216 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4th side of a 3-sided patch

Remove the now unnecessary defines introduced in
https://codereview.chromium.org/348193002

R=abarth@chromium.org
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177217 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Expose 'LaxMixedContentChecking' runtime setting to embedders.

Apparently WebRuntimeSettings isn't generated. Who knew? This followup
to https://codereview.chromium.org/356843006/ makes it possible for the
embedder to set this flag, which we'll need to do if we want enterprise
policy to hook into the setting.

BUG=389089

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177218 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Timeline: associate captured pictures with layer paints only

We used to attach captured pictures to last paint event, despite it
could be a FrameView, not layer paint event. In such cases, the parent
frame's layer picture would be associated with subframe paint. We should
only do this for paints that actually paint layers.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177219 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Timeline: fix crash when painted RenderImage is an anonymous object

Do not expect generatingNode() to be non-null, iterate through
ancestors till we find someone with a real generating node.

BUG=387744

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177220 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL: For DOMString? attribute getters, use null string to represent null

Same as we do for wrapper type attributes, where a null pointer is used
to represent a null Javascript value, use a null string (one for which
WTF::String::isNull() returns true) to represent a null Javascript value
for nullable DOMString attributes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177221 bbb929c8-8fbe-4397-9dbb-9b2b20218538
kPMColor_SkColorType -> kN32_SkColorType

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177222 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: move cmdevtools file out of cm/ folder.

File cmdevtools.css is not a part of codemirror distribution - it
customizes editor look & feel of the devtools editor.

R=apavlov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177223 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Page.navigate response should contain a frameId.

BUG=375205
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177224 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Make target in ProfileHeader nullable, because it could be created from file

BUG=

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

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