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

Unified Diff: ui/compositor/clip_recorder.h

Issue 2230513005: Move visual rect unioning between paired items to cc::DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review feedback. Created 4 years, 4 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 | « third_party/WebKit/public/platform/WebDisplayItemList.h ('k') | ui/compositor/clip_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/clip_recorder.h
diff --git a/ui/compositor/clip_recorder.h b/ui/compositor/clip_recorder.h
index e1e4790156c8f1c9d940b6c2a5d6d5abb849bb0c..52f1596c1458c8aadc94cbcafe0dbf0f0e5186cc 100644
--- a/ui/compositor/clip_recorder.h
+++ b/ui/compositor/clip_recorder.h
@@ -16,7 +16,6 @@ class DisplayItemList;
namespace gfx {
class Path;
-class Size;
}
namespace ui {
@@ -41,14 +40,13 @@ class COMPOSITOR_EXPORT ClipRecorder {
CLIP_PATH,
};
- void RecordCloser(const gfx::Rect& bounds_in_layer, Closer);
+ void RecordCloser(Closer);
const PaintContext& context_;
// If someone needs to do more than this many operations with a single
// ClipRecorder then we'll increase this.
enum : int { kMaxOpCount = 4 };
Closer closers_[kMaxOpCount];
- gfx::Rect bounds_in_layer_[kMaxOpCount];
int num_closers_;
DISALLOW_COPY_AND_ASSIGN(ClipRecorder);
« no previous file with comments | « third_party/WebKit/public/platform/WebDisplayItemList.h ('k') | ui/compositor/clip_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698