Introduce DEFINE_CUSTOM_FONT_DATA_TYPE_CASTS, and use it

As a step to use toFoo, this cl introduces DEFINE_CUSTOM_FONT_DATA_TYPE_CASTS, and use it.
Additionally this cl clean up static_cast<TextCloneCSSValue*> with toTextCloneCSSValue().

BUG=309516

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Assert that updator functions of HashMap, HashSet, and Vector should not be used during weak processing.

We already have assertions in Heap::allocate and Heap::reallocate. However the
member functions of HashMap, HashSet, and Vector don't always call
Heap::allocate or Heap::reallocate, and it's very hard to detect
allocation-in-weak-processing.

BUG=400652

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179899 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Sheriff-o-matic: Fix inverted condition when persisting annotations

https://src.chromium.org/viewvc/blink?view=rev&revision=179897 was committed
with a broken test :(

BUG=399967
NOTRY=true
TBR=ojan@chromium.org

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

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