WebFont.BlankTextShownTime should not include the time fallback text is displayed after 3 seconds

WebFont.BlankTextShownTime was measuring the time until font load, but
that is not really the time user sees blank text because we introduced
the 3 second timeout to show fallback text (crbug.com/235303).
So we should call FontLoadHistograms::recordFallbackTime() when the
3 seconds timeout is kicked, too.

BUG=345839
TEST=Manually tested with chrome://histograms

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168977 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WrapperWorldType from V8 binding

- Now that domTemplate() is always used for the current world, this CL removes a WrapperWorldType parameter from domTemplate(). Alternaltely, domTemplate() looks up the current world inside domTemplate().

- Now that DOMConfiguration methods are always used for the current world, this CL removes a WrapperWorldType parameter from the DOMConfiguration methods. Alternaltely, the methods look up the current world inside the methods.

- This CL removes WrapperWorldType, worldType() and worldTypeInMainThread() completely.

BUG=341032

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168978 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Allocate a singleton LinearTimingFunction

LinearTimingFunction has no state. We can allocate a single instance instead of creating a new instance each time linear timing is requested for an animation.

We already have singletons for ease, ease-in, ease-out, ease-in-out.

BUG=350998

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168979 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't assume the root renderer covers the background when it has filters

In r166582 I added an optimization for the RenderView to avoid double-painting
the entire viewport background when the root renderer fully obscures the view.
That patch missed a case where the root renderer has an opacity filter, which
left the root background partially transparent. This patch disables the
RenderView optimization when the root has a filter applied.

BUG=349587

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168980 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make HeapSnapshotLoader understand recent changes to the allocation tracking protocol

BUG=277984
R=loislo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168981 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add columns for count and size of live objects to "Allcations" view

Added "Live Count" and "Live Size" columns to the "Allocations" view. This allows to compare total amount of objects allocated by given function with the number of objects that are still live.

BUG=277984
R=alph@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168982 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use new is*Element() helper functions in DOM code

Use new is*Element() helpers in DOM code. This makes the code clearer and
simpler. Also use the new Traversal<*Element> API when suitable.

R=eseidel, adamk
BUG=346095

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

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