Bug 1378355 - Remove unused function. r?Bas
MozReview-Commit-ID: H051LFrFMgD
--- 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() {}