Comment out assertion in CSSAnimations.cpp

This is causing Chrome OS test failures in debug browser_tests for
SimpleWebViewDialogTest.Interstitial. The tests pass without this assertion.
Commenting it out while we investigate the underlying issue.

BUG=365507
TEST=browser_tests SimpleWebViewDialogTest.Interstitial

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172439 bbb929c8-8fbe-4397-9dbb-9b2b20218538
LiveNodeListBase code should not need to worry about id/name cache invalidation

LiveNodeListBase code should not need to worry about id/name cache
invalidation. Previously, LiveNodeListBase::invalidateCache(QualifiedName) would
explicitly handle the case where the nodelist has a id/name cache (i.e. it is
an HTMLCollection) and then invalidate it.

The following changes were made to avoid this:
- Add invalidateCacheForAttribute() methods to HTMLCollection and LiveNodeList
  classes and let them handle cache invalidation. HTMLCollection's method is
  the only one that takes care of invalidating the id/name cache if needed.
- The invalidateCacheForAttribute() method in LiveNodeListBase calls the
  corresponding method on the right subclass using the m_collectionType member.
  We could make it virtual but cache invalidation can be hot and this causes
  slight regressions in Dromaeo.
- Remove any traces of id/name caching from LiveNodeListBase.
- Use DEFINE_TYPE_CASTS() macro to define casting functions for HTMLCollection
  and LiveNodeList, so that we no longer need to do manual casting.
- LiveNodeListBase no longer needs to be a friend class of HTMLCollection.

Also, the method was renamed to invalidateCacheForAttribute() for clarity and
to distinguish it better from the invalidateCache(Document*) one.

I see no performance regression on Dromaeo DOM tests:
http://dromaeo.com/?id=220318,220326

R=esprehn@chromium.org, adamk@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172440 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Replace a WeakPtr in MediaKeySession with a WeakMember

- This CL is a preparation for enabling Oilpan in modules/encryptedmedia.

- This CL replaces a WeakPtr for MediaKeySession::m_keys with a WeakMember. This replacement is OK because m_keys does not need to be promptly cleared out (i.e., it's OK to delay the clear to the next GC). m_keys is just used in hasPendingActivity() to check whether the MediaKey is still alive or not. So even if m_keys is not cleared out promptly, it just delays the timing when a V8 wrapper of MediaKeySession is collected by V8 GC. This is no problem.

TEST=media/encrypted-media
BUG=340522

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

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