[Webkit-unassigned] [Bug 45145] [Qt] V8 port for QT platform: v8 binding changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 5 23:28:50 PDT 2010


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


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66574|review?                     |review-
               Flag|                            |




--- Comment #13 from Adam Barth <abarth at webkit.org>  2010-09-05 23:28:49 PST ---
(From update of attachment 66574)
View in context: https://bugs.webkit.org/attachment.cgi?id=66574&action=prettypatch

> WebCore/bindings/v8/ScriptController.cpp:74
> +#if PLATFORM(QT)
> +PassRefPtr<DOMWrapperWorld> ScriptController::createWorld()
> +{
> +    return DOMWrapperWorld::create();
> +}
> +#endif
This can't be right.  It's not Qt-specific.  We need to integrate V8 with DOMWrapperWorld in genera.

> WebCore/bindings/v8/V8Binding.cpp:54
> -        : m_plainString(string)
> +        : m_plainString(reinterpret_cast<const WTF::String &>(string))
I don't understand this code.  Does Qt use different string types than other ports?  reinterpret_cast is almost always wrong.

> WebCore/plugins/win/PluginViewWin.cpp:661
> +#if USE(JSC)
>      JSC::JSLock::DropAllLocks dropAllLocks(JSC::SilenceAssertionsOnly);
> +#endif
This ifdefs point to a missing abstraction.  Perhaps a ScriptLock object?

-- 
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