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

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

Issue 290313002: Use RecalcStyleDeferred for inspector style changes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/inspector/InspectorStyleSheet.cpp
diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp
index 650aee5c231208f92f7e0f51ad81624921af8d7a..7bd978115ad623958e2d6ccf43da2a5cb2689533 100644
--- a/Source/core/inspector/InspectorStyleSheet.cpp
+++ b/Source/core/inspector/InspectorStyleSheet.cpp
@@ -1000,7 +1000,7 @@ bool InspectorStyleSheet::setText(const String& text, ExceptionState& exceptionS
if (listener())
listener()->didReparseStyleSheet();
fireStyleSheetChanged();
- m_pageStyleSheet->ownerDocument()->styleResolverChanged(RecalcStyleImmediately, FullStyleUpdate);
+ m_pageStyleSheet->ownerDocument()->styleResolverChanged(RecalcStyleDeferred, FullStyleUpdate);
vsevik 2014/05/19 09:32:39 This is needed to make sure StyleSheetAdded/Remove
return true;
}
« Source/core/inspector/InspectorPageAgent.cpp ('K') | « Source/core/inspector/InspectorPageAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698