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

Unified Diff: Source/core/layout/compositing/CompositedLayerMapping.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/CompositedLayerMapping.h
diff --git a/Source/core/layout/compositing/CompositedLayerMapping.h b/Source/core/layout/compositing/CompositedLayerMapping.h
index 9cc210d2e8a6951dd9809210e77f721c99bc25b3..64bd7c6c7a8fadf0f193bd81da4ca19da9c071ef 100644
--- a/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -165,7 +165,7 @@ public:
// position.
GraphicsLayer* detachLayerForOverflowControls(const Layer& enclosingLayer);
- void updateFilters(const LayoutStyle*);
+ void updateFilters(const LayoutStyle&);
void setBlendMode(WebBlendMode);
@@ -254,11 +254,11 @@ private:
// Result is transform origin in pixels.
FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const;
- void updateOpacity(const LayoutStyle*);
- void updateTransform(const LayoutStyle*);
- void updateLayerBlendMode(const LayoutStyle*);
+ void updateOpacity(const LayoutStyle&);
+ void updateTransform(const LayoutStyle&);
+ void updateLayerBlendMode(const LayoutStyle&);
void updateIsRootForIsolatedGroup();
- void updateScrollBlocksOn(const LayoutStyle*);
+ void updateScrollBlocksOn(const LayoutStyle&);
// Return the opacity value that this layer should use for compositing.
float compositingOpacity(float rendererOpacity) const;
« no previous file with comments | « Source/core/layout/LayoutTableSection.cpp ('k') | Source/core/layout/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698