Bug 1047928 patch 11 - Fix indentation. r=bzbarsky

This commit is contained in:
L. David Baron
2014-10-08 14:27:04 -07:00
parent d1f35e4987
commit f74c316e81

View File

@@ -4377,22 +4377,22 @@ nsDocShell::GetWindow()
NS_IMETHODIMP
nsDocShell::SetDeviceSizeIsPageSize(bool aValue)
{
if (mDeviceSizeIsPageSize != aValue) {
mDeviceSizeIsPageSize = aValue;
nsRefPtr<nsPresContext> presContext;
GetPresContext(getter_AddRefs(presContext));
if (presContext) {
presContext->MediaFeatureValuesChanged(eRestyle_Subtree);
}
if (mDeviceSizeIsPageSize != aValue) {
mDeviceSizeIsPageSize = aValue;
nsRefPtr<nsPresContext> presContext;
GetPresContext(getter_AddRefs(presContext));
if (presContext) {
presContext->MediaFeatureValuesChanged(eRestyle_Subtree);
}
return NS_OK;
}
return NS_OK;
}
NS_IMETHODIMP
nsDocShell::GetDeviceSizeIsPageSize(bool* aValue)
{
*aValue = mDeviceSizeIsPageSize;
return NS_OK;
*aValue = mDeviceSizeIsPageSize;
return NS_OK;
}
void