From 637cd960465fa428c75978cef020b77fa6dc449e Mon Sep 17 00:00:00 2001 From: Benoit Girard Date: Wed, 5 Jun 2013 16:23:26 -0400 Subject: [PATCH] Bug 879916 - Remove gfxTestCocoaHelper. r=joe DONTBUILD as NOPTB for obsolete files on a CLOSED TREE --- gfx/tests/Makefile.in | 6 ------ gfx/tests/gfxTestCocoaHelper.h | 9 --------- gfx/tests/gfxTestCocoaHelper.mm | 19 ------------------- 3 files changed, 34 deletions(-) delete mode 100644 gfx/tests/gfxTestCocoaHelper.h delete mode 100644 gfx/tests/gfxTestCocoaHelper.mm diff --git a/gfx/tests/Makefile.in b/gfx/tests/Makefile.in index 9517f4f82f9..387515c6fad 100644 --- a/gfx/tests/Makefile.in +++ b/gfx/tests/Makefile.in @@ -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) \ diff --git a/gfx/tests/gfxTestCocoaHelper.h b/gfx/tests/gfxTestCocoaHelper.h deleted file mode 100644 index c31f9f88072..00000000000 --- a/gfx/tests/gfxTestCocoaHelper.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef GFX_TEST_COCOA_HELPER_H -#define GFX_TEST_COCOA_HELPER_H - -extern "C" { - void CocoaPoolInit(); - void CocoaPoolRelease(); -} - -#endif diff --git a/gfx/tests/gfxTestCocoaHelper.mm b/gfx/tests/gfxTestCocoaHelper.mm deleted file mode 100644 index d21bf8a2675..00000000000 --- a/gfx/tests/gfxTestCocoaHelper.mm +++ /dev/null @@ -1,19 +0,0 @@ - -#import - -#include "gfxTestCocoaHelper.h" - -static NSAutoreleasePool *sPool = NULL; - -void -CocoaPoolInit() { - if (sPool) - [sPool release]; - sPool = [[NSAutoreleasePool alloc] init]; -} - -void -CocoaPoolRelease() { - [sPool release]; - sPool = NULL; -}