Fix bugs in partitionDumpStats so that numbers are more accurate.

Also enhance the details reported a little.

R=tsepez@chromium.org

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

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

This CL removes the ThreadLocalEventNames class and moves all callers over to
using thread-safe strings. I've left ThreadLocalEventNames.h in place because
many files use it to pull in headers. I'll remove it in a future CL.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove Widget's dependency upon its own inheritor aka ScrollView


This was nasty from an OO design perspective and also complicates
efforts to move ScrollView and Scrollbar to core/page/.

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159483 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark the svg/W3C-I18N/text-anchor tests as flaky on Windows.

TBR=eae@chromium.org
BUG=306691

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159484 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Switch UseCounter to take a Document const ref instead of a pointer

This gets rid of many instances of "&document()" from core.

A few callers have been switched to the DOMWindow versions (for those
cases where the existence of a Document is not certain). This required
making the UseCounter take a const DOMWindow* (which works fine, since
DOMWindow::document() is const).

R=esprehn@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159485 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add equality and inequality operators for Nodes and TreeScopes

These operators allow comparing Node& or TreeScope& with other references
or pointers. The operators in Document.h are required to allow the compiler
to resolve overloads for document comparisons (since they're both Nodes and
TreeScopes).

Also added operators for comparing RefPtrs to references of the same type
(allowing subtype comparisons does not work for a variety of reasons).

This patch converts all the callsites I could find to use the simplified
operators, thus getting rid of lots of &node->document() and &node->treeScope().

R=ch.dumez@sisa.samsung.com, tkent@chromium.org

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

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