mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 867204 - Don't use jsdbgapi.h in IDBFactory. r=bholley
This commit is contained in:
parent
7a3adb91f6
commit
4f1ab3b372
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user