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

Unified Diff: Source/core/inspector/InspectorPageAgent.cpp

Issue 296743003: Removed RecalcStyleTime. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 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
« no previous file with comments | « Source/core/inspector/InspectorCSSAgent.cpp ('k') | Source/core/inspector/InspectorStyleSheet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorPageAgent.cpp
diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
index ffc57827145833bd04e68114547a75f18a4de2fa..63b89b99b8a7ef0dc610217b6668c15cd9d0085b 100644
--- a/Source/core/inspector/InspectorPageAgent.cpp
+++ b/Source/core/inspector/InspectorPageAgent.cpp
@@ -1171,7 +1171,7 @@ void InspectorPageAgent::updateViewMetrics(bool enabled, int width, int height,
Document* document = mainFrame()->document();
if (document) {
- document->styleResolverChanged(RecalcStyleDeferred);
+ document->styleResolverChanged();
document->mediaQueryAffectingValueChanged();
}
InspectorInstrumentation::mediaQueryResultChanged(document);
@@ -1238,7 +1238,7 @@ void InspectorPageAgent::setEmulatedMedia(ErrorString*, const String& media)
document = m_page->mainFrame()->document();
if (document) {
document->mediaQueryAffectingValueChanged();
- document->styleResolverChanged(RecalcStyleDeferred);
+ document->styleResolverChanged();
document->updateLayout();
}
}
« no previous file with comments | « Source/core/inspector/InspectorCSSAgent.cpp ('k') | Source/core/inspector/InspectorStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698