
# HG changeset patch
# User Emilio Cobos Álvarez <emilio@crisal.io>
# Date 1781042684 0
# Node ID 5c2c449c8f6149561d7e4bd831f84704a710cea7
# Parent  b6c97168cd840b71472e81622ed13ee368631f9a
Bug 2046162 - Remove some redundant pub qualifiers. r=gfx-reviewers,aosmond

The enum is not public so this doesn't change behavior but a patch I'm
working on in cbindgen gets a bit confused with this.

Differential Revision: https://phabricator.services.mozilla.com/D305678


diff --git a/gfx/wr/webrender/src/texture_cache.rs b/gfx/wr/webrender/src/texture_cache.rs
--- a/gfx/wr/webrender/src/texture_cache.rs
+++ b/gfx/wr/webrender/src/texture_cache.rs
@@ -268,29 +268,29 @@ enum BudgetType {
     SharedColor8Glyphs,
     SharedAlpha8,
     SharedAlpha8Glyphs,
     SharedAlpha16,
     Standalone,
 }
 
 impl BudgetType {
-    pub const COUNT: usize = 7;
+    const COUNT: usize = 7;
 
-    pub const VALUES: [BudgetType; BudgetType::COUNT] = [
+    const VALUES: [BudgetType; BudgetType::COUNT] = [
         BudgetType::SharedColor8Linear,
         BudgetType::SharedColor8Nearest,
         BudgetType::SharedColor8Glyphs,
         BudgetType::SharedAlpha8,
         BudgetType::SharedAlpha8Glyphs,
         BudgetType::SharedAlpha16,
         BudgetType::Standalone,
     ];
 
-    pub const PRESSURE_COUNTERS: [usize; BudgetType::COUNT] = [
+    const PRESSURE_COUNTERS: [usize; BudgetType::COUNT] = [
         profiler::ATLAS_COLOR8_LINEAR_PRESSURE,
         profiler::ATLAS_COLOR8_NEAREST_PRESSURE,
         profiler::ATLAS_COLOR8_GLYPHS_PRESSURE,
         profiler::ATLAS_ALPHA8_PRESSURE,
         profiler::ATLAS_ALPHA8_GLYPHS_PRESSURE,
         profiler::ATLAS_ALPHA16_PRESSURE,
         profiler::ATLAS_STANDALONE_PRESSURE,
     ];

