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

Unified Diff: Source/core/layout/Layer.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
« no previous file with comments | « no previous file | Source/core/layout/Layer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/Layer.h
diff --git a/Source/core/layout/Layer.h b/Source/core/layout/Layer.h
index 7ea244bae34cecb20c9c7f07596083ae78284ca2..47c63b992dc3fb3d7a9237bc3e7477fb7b3a6180 100644
--- a/Source/core/layout/Layer.h
+++ b/Source/core/layout/Layer.h
@@ -337,7 +337,7 @@ public:
bool containsDirtyOverlayScrollbars() const { return m_containsDirtyOverlayScrollbars; }
void setContainsDirtyOverlayScrollbars(bool dirtyScrollbars) { m_containsDirtyOverlayScrollbars = dirtyScrollbars; }
- FilterOperations computeFilterOperations(const LayoutStyle*);
+ FilterOperations computeFilterOperations(const LayoutStyle&);
bool paintsWithFilters() const;
FilterEffectRenderer* filterRenderer() const
{
@@ -356,7 +356,7 @@ public:
bool hasFilterInfo() const { return m_hasFilterInfo; }
void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo; }
- void updateFilters(const LayoutStyle* oldStyle, const LayoutStyle* newStyle);
+ void updateFilters(const LayoutStyle* oldStyle, const LayoutStyle& newStyle);
Node* enclosingElement() const;
@@ -590,7 +590,7 @@ private:
void dirtyAncestorChainVisibleDescendantStatus();
bool attemptDirectCompositingUpdate(StyleDifference, const LayoutStyle* oldStyle);
- void updateTransform(const LayoutStyle* oldStyle, LayoutStyle* newStyle);
+ void updateTransform(const LayoutStyle* oldStyle, const LayoutStyle& newStyle);
void dirty3DTransformedDescendantStatus();
// Both updates the status, and returns true if descendants of this have 3d.
« no previous file with comments | « no previous file | Source/core/layout/Layer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698