DevTools: Add memory statistics to heap snapshot.

BUG=346335

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167811 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove GDI font rendering code for windows

Remove the old windows font rendering code that calls GDI directly as
we now go through skia instead. As of M33 the skia code is used for all
channels and considered stable.

BUG=249099
R=dglazkov@google.com, dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167812 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Return the right top position for text selections when there are no previous root inline boxes.

The code in RootInlineBox::selectionTop() was doing some extra calculations based on border and
padding to determine the top position of a text selection for a RootInlineBox when there is no
previous box to consider, instead of just returning the m_lineTop value (which is similar to
what is correctly being done already now in RootInlineBox::selectionBottom()).

This caused that the top position for a selection was usually miscalculated, returning to high
values when the line-height value is too big, and too small values when line-height is too
small, causing rendering issues both when drawing cursors and selection rectangles.

BUG=313593
TEST=Try selecting text over lines with too big and too small values for line-height.
R=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167813 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Save the matrix as well when doing a saveLayer() for filters.

This is necessary so that the matrix is correctly restored before
filter application.  Since adding this flag is equivalent to setting
all the flags, just use kARGB_ClipLayer_SaveFlag instead.

BUG=337831
R=fmalita@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167814 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove the HTMLVideoElement-specific prefixed fullscreen API

Intent to Remove:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/Bxe7DnDVRZ0/5K61HQPrNK4J

BUG=346236

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167815 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove out of date comments from FontFallbackWin.h

Remove old out of date comments that no longer applies from
FontFallbackWin.h

TBR=dglazkov@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167816 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix crash in which elementData() might be null.

The issue is that an SVG animation may animate the class attribute. SVG tracks attributes, including class, internally. But it still needs to track style recalc dependencies on class, so it hooks into the class change machinery in Element. In order to do so, however, elementData() mus be non-null, which requires calling invalidateSVGElement() while mutating class in the SVG code.

BUG=345178

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

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