Bug 619182 - Convert moz_indexedDB to mozIndexedDB. r=sicking a=blocking2.0
authorDoug Turner <dougt@dougt.org>
Mon, 03 Jan 2011 12:03:03 -0800
changeset 59794 0aff32dee6a785153afbc7cdf0879a7cc34d2e9d
parent 59793 343baa8939cc22fe72fcec41cf28e888fc529d9b
child 59795 ca0f807691f9ae150c75bfd864b10dd9540475c3
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewerssicking, blocking2
bugs619182
milestone2.0b9pre
Bug 619182 - Convert moz_indexedDB to mozIndexedDB. r=sicking a=blocking2.0
dom/base/nsGlobalWindow.cpp
dom/interfaces/storage/nsIDOMStorageWindow.idl
--- a/dom/base/nsGlobalWindow.cpp
+++ b/dom/base/nsGlobalWindow.cpp
@@ -7961,17 +7961,17 @@ nsGlobalWindow::GetLocalStorage(nsIDOMSt
     NS_ENSURE_SUCCESS(rv, rv);
   }
 
   NS_ADDREF(*aLocalStorage = mLocalStorage);
   return NS_OK;
 }
 
 NS_IMETHODIMP
-nsGlobalWindow::GetMoz_indexedDB(nsIIDBFactory** _retval)
+nsGlobalWindow::GetMozIndexedDB(nsIIDBFactory** _retval)
 {
   if (!mIndexedDB) {
     mIndexedDB = indexedDB::IDBFactory::Create();
     NS_ENSURE_TRUE(mIndexedDB, NS_ERROR_FAILURE);
   }
 
   nsCOMPtr<nsIIDBFactory> request(mIndexedDB);
   request.forget(_retval);
--- a/dom/interfaces/storage/nsIDOMStorageWindow.idl
+++ b/dom/interfaces/storage/nsIDOMStorageWindow.idl
@@ -66,10 +66,10 @@ interface nsIDOMStorageWindow : nsISuppo
   /**
    * Local storage for the current browsing context.
    */
   readonly attribute nsIDOMStorage localStorage;
 
   /**
    * Indexed Databases for the current browsing context.
    */
-  readonly attribute nsIIDBFactory moz_indexedDB;
+  readonly attribute nsIIDBFactory mozIndexedDB;
 };