| 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();
|
| }
|
| }
|
|
|