Reviewed by Adam.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 28 Oct 2007 07:32:15 +0000 (07:32 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 28 Oct 2007 07:32:15 +0000 (07:32 +0000)
        Pass the Document's domain to InspectorController:didOpenDatabase. This matches
        what the Inspector shows for other resources.

        * storage/Database.cpp:
        (WebCore::Database::openDatabase):

        * dom/Document.h: Remove KURL.h, no longer needed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27174 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/dom/Document.h
WebCore/storage/Database.cpp

index c9cc3bbc32586bf1acc2ec4dbf6f58fcd5c3fad8..84dfb6faadbce50ff9b3ab87eb03da88910cccf8 100644 (file)
@@ -1,3 +1,15 @@
+2007-10-28  Timothy Hatcher  <timothy@apple.com>
+
+        Reviewed by Adam.
+
+        Pass the Document's domain to InspectorController:didOpenDatabase. This matches
+        what the Inspector shows for other resources.
+
+        * storage/Database.cpp:
+        (WebCore::Database::openDatabase):
+
+        * dom/Document.h: Remove KURL.h, no longer needed.
+
 2007-10-28  Timothy Hatcher  <timothy@apple.com>
 
         Reviewed by Adam.
index 3be9fdabe0b88eaacf3d03bed72c56f035b61bcf..730028dafe314384cce99e7070e5cd52d2f29011 100644 (file)
@@ -32,7 +32,6 @@
 #include "DocumentMarker.h"
 #include "HTMLCollection.h"
 #include "HTMLFormElement.h"
-#include "KURL.h"
 #include "SecurityOrigin.h"
 #include "StringHash.h"
 #include "Timer.h"
index 3e095801b0cb07cf2a214c37219dc5854e88436f..c65649a7cd45b209a88280db17487acca37fac4c 100644 (file)
@@ -105,7 +105,7 @@ PassRefPtr<Database> Database::openDatabase(Document* document, const String& na
     }
 
     if (Page* page = document->frame()->page())
-        page->inspectorController()->didOpenDatabase(database.get(), document->securityOrigin().toString(), name, expectedVersion);
+        page->inspectorController()->didOpenDatabase(database.get(), document->domain(), name, expectedVersion);
 
     return database;
 }