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

Unified Diff: Source/core/dom/Document.cpp

Issue 202683005: optimizing layout performance when only transform3d matrix changed by Base URL: http://src.chromium.org/blink/trunk/
Patch Set: Created 6 years, 9 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/dom/Document.cpp
===================================================================
--- Source/core/dom/Document.cpp (revision 169401)
+++ Source/core/dom/Document.cpp (working copy)
@@ -479,6 +479,7 @@
, m_templateDocumentHost(0)
, m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsTimerFired)
, m_hasViewportUnits(false)
+ , m_fastCompositing(false)
{
setClient(this);
ScriptWrappable::init(this);
@@ -1797,9 +1798,9 @@
}
ensureStyleResolver().printStats();
+ view()->updateCompositingLayersAfterStyleChange(m_fastCompositing);
+ m_fastCompositing = true;
- view()->updateCompositingLayersAfterStyleChange();
-
clearChildNeedsStyleRecalc();
if (m_styleEngine->hasResolver()) {

Powered by Google App Engine
This is Rietveld 408576698