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

Unified Diff: ui/compositor/paint_cache.h

Issue 1494223003: cc: Shrink size of display item (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make SetNew private Created 5 years 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: ui/compositor/paint_cache.h
diff --git a/ui/compositor/paint_cache.h b/ui/compositor/paint_cache.h
index bb8159a8d1f724993355b5812f011e3921e4800d..12c588c2447c5f1ecb254438d5bc7105c5d2e618 100644
--- a/ui/compositor/paint_cache.h
+++ b/ui/compositor/paint_cache.h
@@ -30,7 +30,7 @@ class COMPOSITOR_EXPORT PaintCache {
// Only PaintRecorder can modify these.
friend PaintRecorder;
- void SetCache(const cc::DrawingDisplayItem* item);
+ void SetCache(const cc::DrawingDisplayItem& item);
bool has_cache_;
cc::DrawingDisplayItem display_item_;

Powered by Google App Engine
This is Rietveld 408576698