Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2572473006: Revert of Collect active stylesheets and and apply asynchronously. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 968db042758a917b1d9b1fc98676a504a916ff88..c5b2158145c0e2df2d15d8fad69158b28491d77d 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -695,9 +695,6 @@
void LocalFrame::deviceScaleFactorChanged() {
document()->mediaQueryAffectingValueChanged();
- document()->setNeedsStyleRecalc(
- SubtreeStyleChange,
- StyleChangeReasonForTracing::create(StyleChangeReason::Zoom));
for (Frame* child = tree().firstChild(); child;
child = child->tree().nextSibling()) {
if (child->isLocalFrame())
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine