Bug 879916 - Remove gfxTestCocoaHelper. r=joe DONTBUILD as NOPTB for obsolete files on a CLOSED TREE

This commit is contained in:
Benoit Girard 2013-06-05 16:23:26 -04:00
parent 417f1497d1
commit 637cd96046
3 changed files with 0 additions and 34 deletions

View File

@ -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) \

View File

@ -1,9 +0,0 @@
#ifndef GFX_TEST_COCOA_HELPER_H
#define GFX_TEST_COCOA_HELPER_H
extern "C" {
void CocoaPoolInit();
void CocoaPoolRelease();
}
#endif

View File

@ -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;
}