Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 42d01f256c5a85a3e908a1d9ac81bc219c6f3fcd..27eb979e482a74ca359dabdff10a03341f592bae 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -30,6 +30,7 @@ |
#include "core/MediaTypeNames.h" |
#include "core/animation/DocumentAnimations.h" |
#include "core/css/FontFaceSet.h" |
+#include "core/css/resolver/StyleResolver.h" |
#include "core/dom/AXObjectCache.h" |
#include "core/dom/DOMNodeIds.h" |
#include "core/dom/ElementVisibilityObserver.h" |
@@ -37,7 +38,6 @@ |
#include "core/dom/IntersectionObserverCallback.h" |
#include "core/dom/IntersectionObserverController.h" |
#include "core/dom/IntersectionObserverInit.h" |
-#include "core/dom/StyleChangeReason.h" |
#include "core/dom/TaskRunnerHelper.h" |
#include "core/editing/EditingUtilities.h" |
#include "core/editing/FrameSelection.h" |
@@ -1473,10 +1473,6 @@ |
setMediaType(m_mediaTypeWhenNotPrinting); |
m_mediaTypeWhenNotPrinting = nullAtom; |
} |
- |
- m_frame->document()->setNeedsStyleRecalc( |
- SubtreeStyleChange, |
- StyleChangeReasonForTracing::create(StyleChangeReason::StyleSheetChange)); |
} |
bool FrameView::contentsInCompositedLayer() const { |