Bug 1378355 - Remove unused function. r=bas
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 10 Jul 2017 10:15:23 -0400
changeset 368177 872c6d6ff7d0b4dfd0215f4a1d0ba18a65dd5f09
parent 368176 3915337ce78e0836bf25725c53be1803a860ece9
child 368178 5137298496633196a64251a19421b9190ae32503
push id32158
push usercbook@mozilla.com
push dateTue, 11 Jul 2017 10:48:59 +0000
treeherdermozilla-central@5e2692f8a367 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbas
bugs1378355
milestone56.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 1378355 - Remove unused function. r=bas MozReview-Commit-ID: H051LFrFMgD
gfx/layers/ipc/ISurfaceAllocator.cpp
gfx/layers/ipc/ISurfaceAllocator.h
--- a/gfx/layers/ipc/ISurfaceAllocator.cpp
+++ b/gfx/layers/ipc/ISurfaceAllocator.cpp
@@ -232,16 +232,10 @@ FixedSizeSmallShmemSectionAllocator::Shr
       }
       mUsedShmems.pop_back();
     } else {
       i++;
     }
   }
 }
 
-int32_t
-ClientIPCAllocator::GetMaxTextureSize() const
-{
-  return gfxPrefs::MaxTextureSize();
-}
-
 } // namespace layers
 } // namespace mozilla
--- a/gfx/layers/ipc/ISurfaceAllocator.h
+++ b/gfx/layers/ipc/ISurfaceAllocator.h
@@ -115,18 +115,16 @@ public:
   ClientIPCAllocator() {}
 
   virtual ClientIPCAllocator* AsClientAllocator() override { return this; }
 
   virtual base::ProcessId GetParentPid() const = 0;
 
   virtual MessageLoop * GetMessageLoop() const = 0;
 
-  virtual int32_t GetMaxTextureSize() const;
-
   virtual void CancelWaitForRecycle(uint64_t aTextureId) = 0;
 };
 
 /// Methods that are specific to the host/parent side.
 class HostIPCAllocator : public ISurfaceAllocator
 {
 public:
   HostIPCAllocator() {}