summaryrefslogtreecommitdiff
path: root/dom/base/nsFrameLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsFrameLoader.cpp')
-rw-r--r--dom/base/nsFrameLoader.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/dom/base/nsFrameLoader.cpp b/dom/base/nsFrameLoader.cpp
index 58b7a93361..6e92f3da20 100644
--- a/dom/base/nsFrameLoader.cpp
+++ b/dom/base/nsFrameLoader.cpp
@@ -56,7 +56,6 @@
#include "nsGlobalWindow.h"
#include "nsPIWindowRoot.h"
#include "nsLayoutUtils.h"
-#include "nsMappedAttributes.h"
#include "nsView.h"
#include "GroupedSHistory.h"
#include "PartialSHistory.h"
@@ -934,8 +933,6 @@ nsFrameLoader::MarginsChanged(uint32_t aMarginWidth,
RefPtr<nsPresContext> presContext;
mDocShell->GetPresContext(getter_AddRefs(presContext));
if (presContext)
- // rebuild, because now the same nsMappedAttributes* will produce
- // a different style
presContext->RebuildAllStyleData(nsChangeHint(0), eRestyle_Subtree);
}