summaryrefslogtreecommitdiffstats
path: root/widget/windows/CompositorWidgetParent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'widget/windows/CompositorWidgetParent.cpp')
-rw-r--r--widget/windows/CompositorWidgetParent.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/widget/windows/CompositorWidgetParent.cpp b/widget/windows/CompositorWidgetParent.cpp
index b25d30d9d5..d38125f4ca 100644
--- a/widget/windows/CompositorWidgetParent.cpp
+++ b/widget/windows/CompositorWidgetParent.cpp
@@ -149,16 +149,12 @@ mozilla::ipc::IPCResult CompositorWidgetParent::RecvNotifyVisibilityUpdated(
return IPC_OK();
}
-nsSizeMode CompositorWidgetParent::CompositorWidgetParent::GetWindowSizeMode()
- const {
- nsSizeMode sizeMode = mSizeMode;
- return sizeMode;
+nsSizeMode CompositorWidgetParent::GetWindowSizeMode() const {
+ return mSizeMode;
}
-bool CompositorWidgetParent::CompositorWidgetParent::GetWindowIsFullyOccluded()
- const {
- bool isFullyOccluded = mIsFullyOccluded;
- return isFullyOccluded;
+bool CompositorWidgetParent::GetWindowIsFullyOccluded() const {
+ return mIsFullyOccluded;
}
mozilla::ipc::IPCResult CompositorWidgetParent::RecvClearTransparentWindow() {