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

Unified Diff: Source/core/layout/compositing/CompositingReasonFinder.h

Issue 910083002: Constify and use LayoutStyle reference in layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined again Created 5 years, 10 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/layout/compositing/CompositingReasonFinder.h
diff --git a/Source/core/layout/compositing/CompositingReasonFinder.h b/Source/core/layout/compositing/CompositingReasonFinder.h
index 46a502f144f4c984d901db9237b60f70f340b87d..c25eb0f1f7259c574adfb274aaf463c33e1a8a3d 100644
--- a/Source/core/layout/compositing/CompositingReasonFinder.h
+++ b/Source/core/layout/compositing/CompositingReasonFinder.h
@@ -33,7 +33,7 @@ private:
CompositingReasons nonStyleDeterminedDirectReasons(const Layer*) const;
bool requiresCompositingForTransform(LayoutObject*) const;
- bool requiresCompositingForAnimation(LayoutStyle*) const;
+ bool requiresCompositingForAnimation(const LayoutStyle&) const;
bool requiresCompositingForPositionFixed(const Layer*) const;
bool requiresCompositingForScrollBlocksOn(const LayoutObject*) const;
« no previous file with comments | « Source/core/layout/compositing/CompositedLayerMapping.cpp ('k') | Source/core/layout/compositing/CompositingReasonFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698