mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Merge m-c to inbound.
This commit is contained in:
commit
03bce61cad
@ -4039,7 +4039,7 @@ MOZ_ZLIB_CHECK([1.2.3])
|
||||
|
||||
if test "$MOZ_NATIVE_ZLIB" != 1; then
|
||||
MOZ_ZLIB_CFLAGS=
|
||||
MOZ_ZLIB_LIBS='$(call EXPAND_LIBNAME_PATH,mozz,'"$_objdir"'/modules/zlib/src)'
|
||||
MOZ_ZLIB_LIBS='$(call EXPAND_LIBNAME_PATH,mozz,'"$MOZ_BUILD_ROOT"'/modules/zlib/src)'
|
||||
fi
|
||||
|
||||
if test "$MOZ_LINKER" = 1 -a "$MOZ_NATIVE_ZLIB" != 1; then
|
||||
|
@ -1848,12 +1848,6 @@ nsXBLPrototypeBinding::ReadContentNode(nsIObjectInputStream* aStream,
|
||||
|
||||
prototype->mNodeInfo = nodeInfo;
|
||||
|
||||
nsCOMPtr<Element> result;
|
||||
nsresult rv =
|
||||
nsXULElement::Create(prototype, aDocument, false, getter_AddRefs(result));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
content = result;
|
||||
|
||||
nsXULPrototypeAttribute* attrs = nsnull;
|
||||
if (attrCount > 0) {
|
||||
attrs = new nsXULPrototypeAttribute[attrCount];
|
||||
@ -1892,6 +1886,12 @@ nsXBLPrototypeBinding::ReadContentNode(nsIObjectInputStream* aStream,
|
||||
rv = prototype->SetAttrAt(i, val, documentURI);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
|
||||
nsCOMPtr<Element> result;
|
||||
nsresult rv =
|
||||
nsXULElement::Create(prototype, aDocument, false, getter_AddRefs(result));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
content = result;
|
||||
}
|
||||
else {
|
||||
#endif
|
||||
|
@ -254,7 +254,9 @@ bool
|
||||
GeckoChildProcessHost::SyncLaunch(std::vector<std::string> aExtraOpts, int aTimeoutMs, base::ProcessArchitecture arch)
|
||||
{
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
CrashReporter::OOPInit();
|
||||
if (CrashReporter::GetEnabled()) {
|
||||
CrashReporter::OOPInit();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
@ -299,7 +301,9 @@ bool
|
||||
GeckoChildProcessHost::AsyncLaunch(std::vector<std::string> aExtraOpts)
|
||||
{
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
CrashReporter::OOPInit();
|
||||
if (CrashReporter::GetEnabled()) {
|
||||
CrashReporter::OOPInit();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
|
@ -1707,6 +1707,10 @@ GetPendingDir(nsIFile** dir)
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIFile> pending = do_CreateInstance(NS_LOCAL_FILE_CONTRACTID);
|
||||
if (!pending) {
|
||||
NS_WARNING("Can't set up pending directory during shutdown.");
|
||||
return false;
|
||||
}
|
||||
#ifdef XP_WIN
|
||||
pending->InitWithPath(nsDependentString(pendingDirectory));
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user