Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 43d8e34

Browse files
committed
don't use a reference to store what could be a temp local value
1 parent be5dff5 commit 43d8e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/layers/cacheable_layer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AutoCache {
2727
inline bool IsCacheEnabled();
2828
RasterCacheItem* raster_cache_item_ = nullptr;
2929
PrerollContext* context_ = nullptr;
30-
const SkMatrix& matrix_;
30+
const SkMatrix matrix_;
3131
};
3232

3333
class CacheableContainerLayer : public ContainerLayer {

0 commit comments

Comments
 (0)