[Webkit-unassigned] [Bug 15574] Web Inspector doesn't work with the new Database feature

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 20 21:40:25 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15574





------- Comment #9 from timothy at hatcher.name  2007-10-20 21:40 PDT -------
A real fix would be:

Index: WebCore/bindings/js/JSDatabaseCustom.cpp
===================================================================
--- WebCore/bindings/js/JSDatabaseCustom.cpp    (revision 26802)
+++ WebCore/bindings/js/JSDatabaseCustom.cpp    (working copy)
@@ -99,7 +99,7 @@
         return jsUndefined();
     }

-    if (Frame* frame = m_impl->document()->frame()) {
+    if (Frame* frame = Window::retrieveActive(exec)->impl()->frame()) {
         RefPtr<VersionChangeCallback> changeCallback(new
JSCustomVersionChangeCallback(callback, frame));
         m_impl->changeVersion(oldVersion, newVersion,
changeCallback.release());
     }


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



More information about the webkit-unassigned mailing list