Move encoding module to oilpan

BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166626 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CSP 1.1: Gate setting 'cssText' on 'unsafe-eval'

This patch picks up where [1] left off, blocking string-to-CSS evaluation
via the 'cssText' setter on CSSStyleDeclaration objects. It uses the same
mechanism (and therefore the same UseCounter) as the previous patch, and
remains gated on the CSP runtime flag, so this patch won't have any
visible impact on the web until we ship CSP 1.1.

[1]: https://codereview.chromium.org/144103002

BUG=336413

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166627 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add [OverrideBuiltins] to HTMLCollection IDL interface

Add [OverrideBuiltins] to HTMLCollection IDL interface to match the behavior of
NodeList before r166356, which removed NodeList's named getter.

This fixes the performance regression on Dromaeo's dom-query caused by r166263,
which made getElementByTagName() return an HTMLCollection instead of a
NodeList. Iterating over an HTMLCollection was much slower than iterating over
a NodeList and as it turns out, the profiler was telling me that we were
spending ~20% of the time in HTMLCollection's namedPropertyGetter. I compared
NodeList's namedPropertyGetter and HTMLCollection's and noticed that the former
has a lot less branching due to [OverrideBuiltins].

Adding [OverrideBuiltins] to HTMLCollection IDL interface improves Dromaeo's
dom-query score by ~16.5%.

R=haraken, arv
BUG=340325

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166628 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Add dgozman@chromium.org to OWNERS.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166629 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Makes ScrollbarTheme call through to theme engine for corner (2)

Hopefully the last bit of wiring needed to let the theme engine draw
the corner.

BUG=333499
TEST=none
R=jamesr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166630 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Profile status bar should fit its content"

This reverts commit 166492. Since we use box-sizing:border-box in the front-end the border size should be a part of the height.

BUG=None
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166631 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement DOMWrapperWorlds for workers (part 1)

This CL is a part of https://codereview.chromium.org/151443002.
Since landing https://codereview.chromium.org/151443002 caused some crashes
(https://code.google.com/p/chromium/issues/detail?id=338122) and I cannot
reproduce/understand the crashes, I'm landing the CL very incrementally.
This is the first part of the incremental landing.

BUG=339800
TBR=abarth (for web/)

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166632 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: remove leftover test expectation forgotten after test removal

Remove css-setStyleText-expected.txt. The corresponding testcase was
removed in r166503

BUG=
TBR=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166633 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not scan the active part of the stack in oilpan conservative garbage collections.

If threads are allowed to continue after safepointing there is a
stack marker. We should stop stack scanning at the marker in that
case. If there is no marker the thread whose thread we are iterating
will be blocked and we should scan all the way to the recorded
end stack pointer.

R=vegorov@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166634 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move UseCounter to CSSParserContext

This refactoring adds an extra field to CSSParserContext, which
makes it the only object given to BisonCSSParser.

This change doesn't solve the mysterious lifetime of UseCounter.
It is a good step in this direction as it makes more explicit how
we inherit the UseCounter by removing several default arguments
inside the CSS code.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166635 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add [ Crash Timeout ] expectations for failing tests in Mac and Linux Debug builds.

BUG=341479
R=fmalita@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166636 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use isFinishedParsingChildren() in HTMLSelectElement

Remove HTMLSelectElement::m_isParsingInProgress and
HTMLSelectElement::isParsingInProgress().

There is no runtime change, as isFinishedParsingChildren() is true per
default, even for script-created elements, and only returns false
between the beginParsingChildren() and finishParsingChildren().

BUG=341414

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166637 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove HTMLMediaElement::percentLoaded()

It is not used anywhere.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166638 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reapply "Avoid layout/full-repaint on view height change if possible"

This reapply the following change (r164645):

> Avoid layout/full-repaint on view height change if possible
>
> Previously we always layout/full-repaint of the whole view when the height
> of the RenderView changes. In many cases this is unnecessary. Especially,
> this causes unnecessary cost on Android when the top control shows or
> hides.
>
> Avoid repaint if the RenderView doesn't needs full layout.
>
> BUG=258219
> BUG=327815(about RenderBlock::percentHeightDescendants)
>
> TEST=WebFrameTest.heightChangeRepaint
> TEST=all layout tests still pass
>
> Review URL: https://codereview.chromium.org/99663004

The change has been reverted twice because of bug 332456.
Now skip the optimized path for sub-frames.

TBR=wangxianzhu@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166639 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move TypesettingFeatures from Font to FontDescription.

It's a value that was computed from FontDescription and cached
on Font. Why not just keep it on font?

BUG=319475
R=ksakamoto@chromium.org,eae

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

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