Bug 715769 - Kill unused enums nsWidgetType and nsLanguageSpecificTransformType. r=bernd.mielke.
authorJonathan Watt <jwatt@jwatt.org>
Mon, 16 Jan 2012 21:35:16 +0000
changeset 85829 ce914679955e8778c312335884d9d97fbbc7321c
parent 85828 0eba182bf9d7a359dd8dac054934c7fc0dc9825d
child 85830 7ea3311b5e6c2465baf167d3e6dc55998c0ae1fb
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbernd
bugs715769
milestone12.0a1
Bug 715769 - Kill unused enums nsWidgetType and nsLanguageSpecificTransformType. r=bernd.mielke.
layout/base/nsPresContext.h
--- a/layout/base/nsPresContext.h
+++ b/layout/base/nsPresContext.h
@@ -105,29 +105,16 @@ class nsAnimationManager;
 class nsRefreshDriver;
 class imgIContainer;
 class nsIDOMMediaQueryList;
 
 #ifdef MOZ_REFLOW_PERF
 class nsRenderingContext;
 #endif
 
-enum nsWidgetType {
-  eWidgetType_Button  	= 1,
-  eWidgetType_Checkbox	= 2,
-  eWidgetType_Radio			= 3,
-  eWidgetType_Text			= 4
-};
-
-enum nsLanguageSpecificTransformType {
-  eLanguageSpecificTransformType_Unknown = -1,
-  eLanguageSpecificTransformType_None = 0,
-  eLanguageSpecificTransformType_Japanese
-};
-
 // supported values for cached bool types
 enum nsPresContext_CachedBoolPrefType {
   kPresContext_UseDocumentColors = 1,
   kPresContext_UseDocumentFonts,
   kPresContext_UnderlineLinks
 };
 
 // supported values for cached integer pref types