DevTools: [SSP] fix race condition during property editing.

StylePropertyTreeElement.applyStyleText method initiates a request to
the backend to set property text. If the round-trip takes significant
amount of time, a consequent call to applyStyleText function will result
in undefined behavior.

This patch serializes calls to the applyStyleText method via throttler.

BUG=413538
R=vsevik, apavlov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182441 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not fire an initial periodic timeupdate event while currentTime is 0

m_lastTimeUpdateEventMovieTime has been initialized to infinity for as
long as the code has existed: http://trac.webkit.org/changeset/41907

This may be the cause of a spurious timeupdate event on Mac 10.9 in a
recently added test: https://codereview.chromium.org/578243003

TEST=media/gc-while-playing.html

BUG=400659

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182442 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: adjust placement of no-FrameOwner assert.

Assert that all Frames will have been detached from their owner upon
finalization, not just local ones.

R=haraken, dcheng
BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182443 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use xmlnsWithColon instead of literal

We can just use the existing global xmlnsWithColon
and avoid a potential strlen on the literal.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182444 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Yosemite: Don't show the default placeholder of NSSearchFieldCell.

We need to call setCenteredLook:NO on Yosemite.
This CL was inspired by WebKit r168870 by dino@apple [1].

[1] http://trac.webkit.org/changeset/168870

BUG=394714
TEST=None for now; This change will be covered with existing tests
    when we add Yosemite buildbot.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182445 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removed outdated tree parameters from sheriff-o-matic.

Now that the flakiness dashboard doesn't support a group parameter,
we don't need to pass the tree around in a bunch of places just to
compute the url to the dashboard.

This is the first step in getting the default UI for sheriff-o-matic
to be showing all the alerts for all the trees.

NOTRY=true
R=pdr@chromium.org,leviw@chromium.org
BUG=403133

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182446 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change author to email in sheriff-o-matic.

This value was supposed to be the email, but this broke with the
git migration since the git-only version actually only has the username
in the author field, not the whole email address.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182447 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix repaint of background-image blur filter.

Pixel-moving filters in Skia (e.g., blur, drop-shadow) have computation
to expand the clip rect by the appropriate amount, so that the source
primitive is drawn larger to accommodate the filter outsets.

background-image code was intersecting the destRect of Image::drawTiled()
with the repaint rect, which defeats the Skia adjustment. Remove the
clipping, so that Skia can handle it correctly at playback time.

BUG=415106
R=junov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182448 bbb929c8-8fbe-4397-9dbb-9b2b20218538
gn: Fix missing dependency

blink + component needs some testing helpers injected as a dependency.

BUG=None

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

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

Cleanup RenderTreeAsText as well as SVGRenderTreeAsText:

- fix outdated comment
- remove unused methods
- share stream insertion operator for Color

BUG=416453

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182452 bbb929c8-8fbe-4397-9dbb-9b2b20218538
New InvalidationReasons: InvalidationBecameVisible and InvalidationBecameInvisible

The reasons will be displayed in tracing.
We can also pass more specific invalidation reasons via
WebInvalidationDebugAnnotations in the future.

BUG=410465

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182453 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add one more file to the OOPI watchlist.

Just a watchlist for catching methods being added to WebFrame that
really belong on WebLocalFrame.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182454 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move painting code from InlineFlowBox to InlineFlowBoxPainter.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182455 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused files.

MSVC2013 ships with these headers, so there's no need to have local copies
of them anymore.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182457 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move BisonCSSParser::parseAnimationTimingFunctionValue logic to AnimationInputHelpers

The logic of BisonCSSParser::parseAnimationTimingFunctionValue can be
implemented on top of the CSSParser interface and doesn't need to be
in the BisonCSSParser. This patch moves the function into the class
AnimationInputHelpers, adding the conversion to a TimingFunction into
the function.

The class AnimationInputHelpers is newly created, taking the place of
AnimationHelpers (the static function camelCaseCSSPropertyNameToID is
also moved into this class).

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182458 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Expanding Type Traits to make Vector use mem ops more. (patchset #4 id:120001 of https://codereview.chromium.org/581683002/)

Reason for revert:
Broke developer builds on os x: https://code.google.com/p/chromium/issues/detail?id=416715

Original issue's description:
> Expanding Type Traits to make Vector use mem ops more.
> 
> Vector has several code paths depending on whether the encapsulated
> object can be handled with memmove/memcpu/memset or not, and those
> are used by many objects. Unfortunately that requires manual hinting
> in each class because the type traits used are not strong enough.
> 
> By using type trait functions available in all modern compilers it's
> possible to more intelligently select the most optimal code path.
> 
> Preferably the code would use the new type traits in C++ 11 but
> unfortunately that requires a modern c++ library. Luckily, those
> libraries are mostly just thin wrappers on top of de facto-standard
> compiler extension functions anyway.
> 
> With clang this cuts away 105 KB of machine code in blink. Mostly by 
> no longer needing copy constructor and assignment operators in many
> classes so those can be stripped from the binary. 
> 
> With gcc the changes are differently. The binary is smaller but only 
> by 5 KB. It's clear that many Vector methods have become more compact but
> it seems gcc compensated by spending that space elsewhere (more inlining?).
> 
> I don't have as good measurement tools for Visual Studio but there was no
> huge difference in footprint.
> 
> Performance, all this is from a noisy development computer with a 
> non-stable cpu clock frequency (turbo ftl...):
> 
> In LayoutTests most changes are within noise levels. But it looks like 
> large tables and flexboxes might be 1-5% faster. In ParserTests 
> html5-full-render (macro-benchmark) became 2-3% faster.
> 
> clang footprint numbers:
> Total change: -109940 bytes
> ===========================
>   14 added, totalling +3397 bytes across 8 sources
>   19 removed, totalling -13302 bytes across 6 sources
>   8 grown, for a net change of +578 bytes (2268 bytes before, 2846 bytes after) across 6 sources
>   230 shrunk, for a net change of -100613 bytes (190909 bytes before, 90296 bytes after) across 49 sources
> 
> Biggest changes:
>  -84410 - Source: /home/bratell/src/chromium/src/third_party/WebKit/Source/wtf/Vector.h - (gained 784, lost 85194)
>   -6934 - Source: /home/bratell/src/chromium/src/third_party/WebKit/Source/wtf/Deque.h - (gained 0, lost 6934)
>   -2267 - Source: /home/bratell/src/chromium/src/third_party/WebKit/Source/core/animation/css/CSSAnimationData.cpp - (gained 904, lost 3171)
> ...
>    +245 - Source: /home/bratell/src/chromium/src/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp - (gained 245, lost 0)
> 
> BUG=
> R=jochen@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182427

TBR=jochen@chromium.org,thakis@chomium.org,bratell@opera.com
NOTREECHECKS=true
NOTRY=true
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182459 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Route selection bounds updates through WebLayerTreeView

Currently, the selection bounds are pulled from the WebView at the start of each
frame. This approach works only if the queried bounds are always in-sync with
the visible content, which will not always hold with accelerated compositing.

Instead, plumb the selection bounds region through the WebLayerTreeView,
providing appropriate composited layers for each endpoint.  This allows the
compositor to transform the bounds as necessary to provide consistent
positioning of visible selection handles.

BUG=135959

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182460 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[mac] Update fast/images/png-suite/test.html TestExpectations

Passing without flakes since r273650 by jbauman@chromium.org,
so update [mac] TestExpectations for the png-suite test.

BUG=311429

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182461 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-webkit-perspective-origin doesn't need to be a pretend-shorthand

Currently -webkit-perspective-origin differs from perspective-origin in
that it pretends to be a shorthand (but isn't a shorthand as per
CSSProperties.in). This patch makes it no longer a pretend-shorthand.

This has minor behaviour changes. This fixes transitions of the property
which were broken when it was unprefixed. It also changes the value of
cssText to not expand into -webkit-perspective-origin-{x,y}.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182462 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move painting code from RenderView to ViewPainter.

BUG=412088

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

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