[V8] ASSERT that removeAllDOMObjects() is called only on worker threads
https://bugs.webkit.org/show_bug.cgi?id=100046

Reviewed by Eric Seidel.

This function is called only on worker threads. We should ASSERT that
fact and remove the dead code that tries to handle the main thread
case.

* bindings/v8/V8DOMMap.cpp:
(WebCore::removeAllDOMObjects):


git-svn-id: svn://svn.chromium.org/blink/trunk@132156 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DOMDataStoreHandle::DOMDataStoreHandle(bool initialize)
    : m_store(adoptPtr(!initialize ? 0 : new ScopedDOMDataStore()))
{
    if (m_store)
        V8PerIsolateData::current()->registerDOMDataStore(m_store.get());
}

DOMDataStoreHandle::DOMDataStoreHandle(bool initialize)
    : m_store(adoptPtr(!initialize ? 0 : new ScopedDOMDataStore()))
{
    if (m_store)
        V8PerIsolateData::current()->registerDOMDataStore(m_store.get());
}
