Bug 1047928 patch 11 - Fix indentation. r=bzbarsky
--- a/docshell/base/nsDocShell.cpp
+++ b/docshell/base/nsDocShell.cpp
@@ -4372,32 +4372,32 @@ nsDocShell::GetWindow()
{
NS_ENSURE_SUCCESS(EnsureScriptEnvironment(), nullptr);
return mScriptGlobal;
}
NS_IMETHODIMP
nsDocShell::SetDeviceSizeIsPageSize(bool aValue)
{
- if (mDeviceSizeIsPageSize != aValue) {
- mDeviceSizeIsPageSize = aValue;
- nsRefPtr<nsPresContext> presContext;
- GetPresContext(getter_AddRefs(presContext));
- if (presContext) {
- presContext->MediaFeatureValuesChanged(eRestyle_Subtree);
- }
- }
- return NS_OK;
+ if (mDeviceSizeIsPageSize != aValue) {
+ mDeviceSizeIsPageSize = aValue;
+ nsRefPtr<nsPresContext> presContext;
+ GetPresContext(getter_AddRefs(presContext));
+ if (presContext) {
+ presContext->MediaFeatureValuesChanged(eRestyle_Subtree);
+ }
+ }
+ return NS_OK;
}
NS_IMETHODIMP
nsDocShell::GetDeviceSizeIsPageSize(bool* aValue)
{
- *aValue = mDeviceSizeIsPageSize;
- return NS_OK;
+ *aValue = mDeviceSizeIsPageSize;
+ return NS_OK;
}
void
nsDocShell::ClearFrameHistory(nsISHEntry* aEntry)
{
nsCOMPtr<nsISHContainer> shcontainer = do_QueryInterface(aEntry);
nsCOMPtr<nsISHistory> rootSH;
GetRootSessionHistory(getter_AddRefs(rootSH));