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

Unified Diff: ui/compositor/paint_recorder.h

Issue 1423653005: Further plumb visual rect into cc:DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cc unit tests. Created 5 years, 1 month 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_recorder.h
diff --git a/ui/compositor/paint_recorder.h b/ui/compositor/paint_recorder.h
index 39a687b75af38cee61c77e119be2d56be154d8f9..c5efe6f5805966892ebbbe1f7434fc40999f0026 100644
--- a/ui/compositor/paint_recorder.h
+++ b/ui/compositor/paint_recorder.h
@@ -10,6 +10,7 @@
#include "skia/ext/refptr.h"
#include "ui/compositor/compositor_export.h"
#include "ui/gfx/canvas.h"
+#include "ui/gfx/geometry/rect.h"
namespace cc {
class DisplayItemList;
@@ -47,6 +48,7 @@ class COMPOSITOR_EXPORT PaintRecorder {
const PaintContext& context_;
gfx::Canvas canvas_;
PaintCache* cache_;
+ gfx::Rect visual_rect_;
DISALLOW_COPY_AND_ASSIGN(PaintRecorder);
};

Powered by Google App Engine
This is Rietveld 408576698