[Webkit-unassigned] [Bug 62164] Remove "multi-threaded" logic in V8 DOMData, DOMDataStore and friends

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 6 22:21:46 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62164


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96189|review?                     |review+
               Flag|                            |




--- Comment #15 from Adam Barth <abarth at webkit.org>  2011-06-06 22:21:46 PST ---
(From update of attachment 96189)
View in context: https://bugs.webkit.org/attachment.cgi?id=96189&action=review

This looks great.  There's probably another round of cleanup we can do here, but we can do that in a subsequent patch.

> Source/WebCore/bindings/v8/DOMData.cpp:74
> +
> +

This diff seem unneeded.

> Source/WebCore/bindings/v8/DOMData.h:54
> -        virtual DOMDataStore& getStore() = 0;
> +        DOMDataStore& getStore() { return getMainThreadStore(); }

Now that this function isn't virtual, it seems like we don't need to separate these calls, right?

> Source/WebCore/bindings/v8/DOMData.h:62
> -        ThreadIdentifier owningThread() const { return m_owningThread; }
> +        static DOMDataStore& getCurrentMainThreadStore() { return getCurrent()->getMainThreadStore(); }

Do we still need the concept of "MainThreadStore" or can we remove all mentions of that too now?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list