Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More assert fixes Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index 82058afac1f57815432cc43513d18efd05ce3340..6a96069238f6a129409c94bdd6bc842f9f19ebb7 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -19,7 +19,6 @@
#include "core/page/Page.h"
-#include "core/css/resolver/ViewportStyleResolver.h"
#include "core/dom/ClientRectList.h"
#include "core/dom/StyleChangeReason.h"
#include "core/dom/VisitedLinkState.h"
@@ -440,7 +439,7 @@ void Page::settingsChanged(SettingsDelegate::ChangeType changeType)
Document* doc = toLocalFrame(mainFrame())->document();
if (!doc || !doc->styleResolver())
break;
- doc->styleResolver()->viewportStyleResolver()->collectViewportRules();
+ doc->styleEngine().setNeedsActiveStyleUpdate(*doc);
}
break;
case SettingsDelegate::TextTrackKindUserPreferenceChange:
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698