mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 938017 - Remove dlldeps-*.cpp and nsGFXDeps.cpp. r=bsmedberg
This commit is contained in:
parent
1e61ba6ab6
commit
dd9134f152
@ -1,26 +0,0 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsXULAppAPI.h"
|
||||
|
||||
void xxxNeverCalledXUL()
|
||||
{
|
||||
XRE_main(0, nullptr, nullptr, 0);
|
||||
XRE_GetFileFromPath(nullptr, nullptr);
|
||||
XRE_LockProfileDirectory(nullptr, nullptr);
|
||||
XRE_InitEmbedding2(nullptr, nullptr, nullptr);
|
||||
XRE_NotifyProfile();
|
||||
XRE_TermEmbedding();
|
||||
XRE_CreateAppData(nullptr, nullptr);
|
||||
XRE_ParseAppData(nullptr, nullptr);
|
||||
XRE_FreeAppData(nullptr);
|
||||
XRE_ChildProcessTypeToString(GeckoProcessType_Default);
|
||||
XRE_StringToChildProcessType("");
|
||||
XRE_GetProcessType();
|
||||
XRE_InitChildProcess(0, nullptr, GeckoProcessType_Default);
|
||||
XRE_InitParentProcess(0, nullptr, nullptr, nullptr);
|
||||
XRE_RunAppShell();
|
||||
XRE_ShutdownChildProcess();
|
||||
XRE_SendTestShellCommand(nullptr, nullptr, nullptr);
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// Force references to all of the symbols that we want exported from
|
||||
// the dll that are located in the .lib files we link with
|
||||
|
||||
#define ZLIB_INTERNAL
|
||||
#include "zlib.h"
|
||||
|
||||
void xxxNeverCalledZLib()
|
||||
{
|
||||
deflate(0, 0);
|
||||
deflateInit(0, 0);
|
||||
deflateInit2(0, 0, 0, 0, 0, 0);
|
||||
deflateEnd(0);
|
||||
inflate(0, 0);
|
||||
inflateInit(0);
|
||||
inflateInit2(0, 0);
|
||||
inflateEnd(0);
|
||||
inflateReset(0);
|
||||
}
|
@ -24,24 +24,5 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
SOURCES += [
|
||||
'nsDllMain.cpp',
|
||||
]
|
||||
if not CONFIG['GNU_CC']:
|
||||
SOURCES += [
|
||||
'dlldeps-xul.cpp',
|
||||
'nsGFXDeps.cpp',
|
||||
]
|
||||
if not CONFIG['MOZ_NATIVE_ZLIB']:
|
||||
SOURCES += [
|
||||
'dlldeps-zlib.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'OS2':
|
||||
SOURCES += [
|
||||
'dlldeps-xul.cpp',
|
||||
'nsGFXDeps.cpp',
|
||||
]
|
||||
if not CONFIG['MOZ_NATIVE_ZLIB']:
|
||||
SOURCES += [
|
||||
'dlldeps-zlib.cpp',
|
||||
]
|
||||
|
||||
MSVC_ENABLE_PGO = True
|
||||
|
@ -1,34 +0,0 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsRegion.h"
|
||||
|
||||
void xxxGFXNeverCalled()
|
||||
{
|
||||
nsRegion a;
|
||||
nsRect r;
|
||||
nsRegion b(r);
|
||||
nsRegion c(a);
|
||||
c.And(a,b);
|
||||
c.And(a,r);
|
||||
c.And(r,a);
|
||||
c.Or(a,b);
|
||||
c.Or(a,r);
|
||||
c.Sub(a,b);
|
||||
c.Sub(r,a);
|
||||
c.IsEmpty();
|
||||
c.GetBounds();
|
||||
c.GetNumRects();
|
||||
c.MoveBy(0,0);
|
||||
c.MoveBy(nsPoint());
|
||||
c.SetEmpty();
|
||||
c.SimplifyInward(0);
|
||||
c.SimplifyOutward(0);
|
||||
|
||||
|
||||
nsRegionRectIterator i(a);
|
||||
i.Next();
|
||||
i.Prev();
|
||||
i.Reset();
|
||||
}
|
Loading…
Reference in New Issue
Block a user