Remove unneeded fprintf call in CSSPrimitiveValueMappings

The conversions for FontStretch have fprintf calls in them from
https://codereview.chromium.org/203523002/, probably left in by
accident.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179282 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add StyleBuilderConverter::convertColor to reduce copied code

This patch adds a color converter for -webkit-tap-highlight-color to use
and to reduce copied conversions for other color properties.

BUG=374530

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179283 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Change WokerThread to use a blink::WebThread (https://codereview.chromium.org/423303004/)

Reason for revert:
This change introduced leaks that were detected in the following layout tests:
fast/workers/worker-terminate.html ({"numberOfLiveDocuments":[1,2],"numberOfLiveNodes":[4,21]})
inspector-protocol/debugger/debugger-terminate-dedicated-worker-while-paused.html ({"numberOfLiveDocuments":[1,2],"numberOfLiveNodes":[4,32]})

http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Leak/builds/3599

Original issue's description:
> Change WokerThread to use a blink::WebThread
> 
> This is a reland of https://codereview.chromium.org/400153002/ in which I forgot the remove the changes made to WebThread for shared timer. The first patch set is equivalent to the previous CL.
> 
> BUG=301515
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179217

TBR=jochen@chromium.org,nasko@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=301515

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179284 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix userVisibility() for files dragged into the renderer.

While trying to fix drag-and-drop for JS-created files, I broke
drag-and-drop for real files. This change fixes userVisibility() for
real files dragged into the renderer. This change also renames a couple
of the File::create methods, to clarify their usage.

BUG=398366

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179285 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify StyleBuilder handling of font-stretch

The generated code basically does what we want for font-stretch, so we
should use it instead of defining custom handlers.

BUG=374530

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179286 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add an entry for modules/websockets in the Blink WATCHLISTS

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179287 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reduce duplication for converting font enums to CSS

This patch makes convertions for font enums in CSSComputedStyleDeclaration
just use the conversions in CSSPrimitiveValueMappings to reduce code
duplication.

The font-weights 400 and 700 are identical to normal and bolder (resp.),
so I've updated the CSSPrimitiveValueMappings conversion to match what
we currently do in CSSComputedStyleDeclaration.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179288 bbb929c8-8fbe-4397-9dbb-9b2b20218538
RenderBlock::layoutPositionedObjects should use setNeedsPositionedMovementLayout

This CL swiches RenderBlock::layoutPositionedObjects from using setNeedsLayout
to setNeedsPositionedMovementLayout, as indicated by the FIXME comment and
associated bug. The test failure mentioned in the bug is no longer a problem.

BUG=350756

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179289 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [tracing timeline] console.timeline based on tracing. Blink part.

The fix needs changes on the both sides, chromium and blink.
Looks like two patches, one the first for blink and the
second for chromium would be enough.

The chromium part could not be landed due to changes in protocol.

1) a new hidden command was added to the protocol
for managing tracing mode of console.timeline.
It should be removed with timeline agent.
2) two new events were introduced. Tracing.started and
Tracing.stopped so we can switch the ui into recording mode.
Unfortunately the backend part doesn't trigger stopped event
 yet because stop command to tracing agent is processing on the browser side.

The mechanics of TracingTimelineModel was switched from callbacks to the event based

the chromium side patch https://codereview.chromium.org/423283004

BUG=398787
R=yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179290 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove special case for ShadowRoot in notifyNodeInserted.

ShadowRoot doesn't really want to call notifyNodeInserted, it just
wants to call insertedInto directly. This also allows making the
notifyNodeInserted private.

I also made notifyNodeRemoved private and cleaned up
ElementShadow::addShadowRoot removing some ASSERTs that didn't make
sense since they just seemed to be checking if the linked list class
was implemented properly.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179291 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Moved the threaded parser data receiver functionality behind a flag

This is done to temporarily unbreak the Inspector network instrumentation until a better fix can be landed.

R=abarth
BUG=398076

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179292 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Ensure CSSParserValue::fValue is valid when parsing numbers

Calls to validUnit(v, FNumber) were incorrectly reading v->fValue
when a calc() was present. This change ensures number calcs get
resolved in validUnit() and stored in v->fValue as a CSS_NUMBER.
This change allows CSS property parsing to continue to validate
the input number even if it is a calc expression.

BUG=395972

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179293 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix Oilpan build broken by r179290.

TBR=loislo@chromium.org, oilpan-reviews@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179294 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools Timeline: show frame bars and delimiters on flame chart

BUG=398789

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Avoid crashes in MemoryCache-related tests.

r179210 added GC to runHelper(). However it exposed MemoryCache-related bugs in
Oilpan. We'll investigate the root cause soon.

BUG=393516
TBR=yhirano@chromium.org,oilpan-reviews@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179296 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark http/tests/media/media-source/mediasource-append-buffer.html as flaky

Flakiness most likely due to change: https://codereview.chromium.org/419673007

TBR=prabhur@chromium.org,wolenetz@chromium.org,acolwell@chromium.org
NOTRY=TRUE
BUG=399188

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179297 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add UseCounters for non-standard UIEvent IDL attributes

R=rbyers@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179298 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update sanitizer-related code in the test runner.

- add support for MemorySanitizer,
- asan_symbolize.py now demangles by default, no need to use c++filt,
- pass strip_path_prefix to asan_symbolize.py to relativize the source paths,
- fix an error in comment.

BUG=chromium:397119
R=dpranke@chromium.org
TEST=MSan

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179299 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Wait for resource tree model init before loading source maps.

BUG=350666

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179300 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify getComputedStyle on background/mask-box properties

This patch simplifies getComputedStyle on background and mask-box
properties so that we always compute a CSSValueList instead of having
single values as a special case. This has some visible difference if
using getPropertyCSSValue, but it's unlikely that this will break any
existing web content (firefox is also returns a list in these cases
and IE doesn't implement the deprecated getPropertyCSSValue).

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

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