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

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

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.h
===================================================================
--- Source/core/dom/Document.h (revision 169401)
+++ Source/core/dom/Document.h (working copy)
@@ -1052,6 +1052,7 @@
void updateStyleInvalidationIfNeeded();
+ void setFastCompositing(bool enable) { m_fastCompositing = enable;}
protected:
Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
@@ -1353,6 +1354,8 @@
bool m_hasViewportUnits;
HashSet<DocumentVisibilityObserver*> m_visibilityObservers;
+
+ bool m_fastCompositing;
};
inline void Document::notifyRemovePendingSheetIfNeeded()
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/rendering/compositing/RenderLayerCompositor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698