mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 00:20:37 +00:00
Bug 978348. PresShell::SetDisplayPort is dead code, remove it. r=dholbert
This commit is contained in:
parent
61432e7cc5
commit
8addf76ccc
@ -5263,11 +5263,6 @@ void PresShell::SetIgnoreViewportScrolling(bool aIgnore)
|
||||
SetRenderingState(state);
|
||||
}
|
||||
|
||||
void PresShell::SetDisplayPort(const nsRect& aDisplayPort)
|
||||
{
|
||||
NS_ABORT_IF_FALSE(false, "SetDisplayPort is deprecated");
|
||||
}
|
||||
|
||||
nsresult PresShell::SetResolution(float aXResolution, float aYResolution)
|
||||
{
|
||||
if (!(aXResolution > 0.0 && aYResolution > 0.0)) {
|
||||
|
@ -179,8 +179,6 @@ public:
|
||||
|
||||
virtual void SetIgnoreViewportScrolling(bool aIgnore) MOZ_OVERRIDE;
|
||||
|
||||
virtual void SetDisplayPort(const nsRect& aDisplayPort);
|
||||
|
||||
virtual nsresult SetResolution(float aXResolution, float aYResolution) MOZ_OVERRIDE;
|
||||
virtual gfxSize GetCumulativeResolution() MOZ_OVERRIDE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user