Bug 879916 - Remove gfxTestCocoaHelper. r=joe DONTBUILD as NOPTB for obsolete files on a CLOSED TREE
authorBenoit Girard <b56girard@gmail.com>
Wed, 05 Jun 2013 16:23:26 -0400
changeset 134125 ee5b6ada4a03d727726c2ad1e8e7061726c816c8
parent 134124 197943dd42b79512350c8c3faf385c8f4f025403
child 134142 72fbfb2f8e51a69e59fb11da6e1a98ea02a8073f
push id29066
push userb56girard@gmail.com
push dateWed, 05 Jun 2013 20:35:40 +0000
treeherdermozilla-inbound@ee5b6ada4a03 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjoe
bugs879916
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 879916 - Remove gfxTestCocoaHelper. r=joe DONTBUILD as NOPTB for obsolete files on a CLOSED TREE
gfx/tests/Makefile.in
gfx/tests/gfxTestCocoaHelper.h
gfx/tests/gfxTestCocoaHelper.mm
--- a/gfx/tests/Makefile.in
+++ b/gfx/tests/Makefile.in
@@ -39,22 +39,16 @@ MOCHITEST_FILES = $(addprefix mochitest/
 ##		gfxColorManagementTest.cpp \
 #
 #
 ## rules.mk will put the CPP_UNIT_TESTS into SIMPLE_PROGRAMS twice if we
 ## define SIMPLE_PROGRAMS based on CPPSRCS directly.
 #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) \
 #		$(call EXPAND_LIBNAME_PATH,gkgfx,../src) \
 #		$(MOZ_UNICHARUTIL_LIBS) \
 #		$(XPCOM_LIBS) \
 #		$(MOZ_JS_LIBS) \
 #		$(TK_LIBS) \
deleted file mode 100644
--- 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
deleted file mode 100644
--- a/gfx/tests/gfxTestCocoaHelper.mm
+++ /dev/null
@@ -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;
-}