mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 879916 - Remove gfxTestCocoaHelper. r=joe DONTBUILD as NOPTB for obsolete files on a CLOSED TREE
This commit is contained in:
parent
b80f619be1
commit
c29751a829
@ -44,12 +44,6 @@ MOCHITEST_FILES = $(addprefix mochitest/, \
|
||||
#CPPSRCS = $(CPP_DISABLED_UNIT_TESTS)
|
||||
#SIMPLE_PROGRAMS = $(CPP_DISABLED_UNIT_TESTS:.cpp=$(BIN_SUFFIX))
|
||||
#
|
||||
#ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
||||
#CMMSRCS = gfxTestCocoaHelper.mm
|
||||
#HELPER_OBJS = gfxTestCocoaHelper.$(OBJ_SUFFIX)
|
||||
#EXTRA_DEPS += gfxTestCocoaHelper.$(OBJ_SUFFIX)
|
||||
#endif
|
||||
#
|
||||
#LIBS = \
|
||||
# $(HELPER_OBJS) \
|
||||
# $(call EXPAND_LIBNAME_PATH,thebes,../thebes) \
|
||||
|
@ -1,9 +0,0 @@
|
||||
#ifndef GFX_TEST_COCOA_HELPER_H
|
||||
#define GFX_TEST_COCOA_HELPER_H
|
||||
|
||||
extern "C" {
|
||||
void CocoaPoolInit();
|
||||
void CocoaPoolRelease();
|
||||
}
|
||||
|
||||
#endif
|
@ -1,19 +0,0 @@
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#include "gfxTestCocoaHelper.h"
|
||||
|
||||
static NSAutoreleasePool *sPool = NULL;
|
||||
|
||||
void
|
||||
CocoaPoolInit() {
|
||||
if (sPool)
|
||||
[sPool release];
|
||||
sPool = [[NSAutoreleasePool alloc] init];
|
||||
}
|
||||
|
||||
void
|
||||
CocoaPoolRelease() {
|
||||
[sPool release];
|
||||
sPool = NULL;
|
||||
}
|
Loading…
Reference in New Issue
Block a user