mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1160566 - Change some return values to be reference-to-const. r=botond
This commit is contained in:
parent
74563ea4c9
commit
8622ce8c8b
@ -265,7 +265,7 @@ public:
|
||||
mDisplayPort = aDisplayPort;
|
||||
}
|
||||
|
||||
CSSRect GetDisplayPort() const
|
||||
const CSSRect& GetDisplayPort() const
|
||||
{
|
||||
return mDisplayPort;
|
||||
}
|
||||
@ -275,7 +275,7 @@ public:
|
||||
mCriticalDisplayPort = aCriticalDisplayPort;
|
||||
}
|
||||
|
||||
CSSRect GetCriticalDisplayPort() const
|
||||
const CSSRect& GetCriticalDisplayPort() const
|
||||
{
|
||||
return mCriticalDisplayPort;
|
||||
}
|
||||
@ -285,7 +285,7 @@ public:
|
||||
mCumulativeResolution = aCumulativeResolution;
|
||||
}
|
||||
|
||||
LayoutDeviceToLayerScale2D GetCumulativeResolution() const
|
||||
const LayoutDeviceToLayerScale2D& GetCumulativeResolution() const
|
||||
{
|
||||
return mCumulativeResolution;
|
||||
}
|
||||
@ -295,7 +295,7 @@ public:
|
||||
mDevPixelsPerCSSPixel = aDevPixelsPerCSSPixel;
|
||||
}
|
||||
|
||||
CSSToLayoutDeviceScale GetDevPixelsPerCSSPixel() const
|
||||
const CSSToLayoutDeviceScale& GetDevPixelsPerCSSPixel() const
|
||||
{
|
||||
return mDevPixelsPerCSSPixel;
|
||||
}
|
||||
@ -345,7 +345,7 @@ public:
|
||||
mZoom = aZoom;
|
||||
}
|
||||
|
||||
CSSToParentLayerScale2D GetZoom() const
|
||||
const CSSToParentLayerScale2D& GetZoom() const
|
||||
{
|
||||
return mZoom;
|
||||
}
|
||||
@ -452,7 +452,7 @@ public:
|
||||
mExtraResolution = aExtraResolution;
|
||||
}
|
||||
|
||||
ScreenToLayerScale2D GetExtraResolution() const
|
||||
const ScreenToLayerScale2D& GetExtraResolution() const
|
||||
{
|
||||
return mExtraResolution;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user