Bug 867204 - Don't use jsdbgapi.h in IDBFactory. r=bholley

This commit is contained in:
Andrew McCreight 2013-05-01 09:19:18 -07:00
parent 7a3adb91f6
commit 4f1ab3b372

View File

@ -15,7 +15,6 @@
#include "nsIXPCScriptable.h"
#include <algorithm>
#include "jsdbgapi.h"
#include "mozilla/dom/ContentParent.h"
#include "mozilla/dom/ContentChild.h"
#include "mozilla/dom/IDBFactoryBinding.h"
@ -225,7 +224,7 @@ IDBFactory::Create(ContentParent* aContentParent,
// The CreateSandbox call returns a proxy to the actual sandbox object. We
// don't need a proxy here.
global = JS_UnwrapObject(global);
global = js::UncheckedUnwrap(global);
JSAutoCompartment ac(cx, global);