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

Unified Diff: cc/playback/clip_path_display_item.h

Issue 1423653005: Further plumb visual rect into cc:DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clip recorder params in omnibox. 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
« no previous file with comments | « cc/playback/clip_display_item.cc ('k') | cc/playback/clip_path_display_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/clip_path_display_item.h
diff --git a/cc/playback/clip_path_display_item.h b/cc/playback/clip_path_display_item.h
index 6e4253909905e0a8b10bdec8d207892eed38132e..6f37ebea7f0fc92eba08a5c446ad8e75b65f54c8 100644
--- a/cc/playback/clip_path_display_item.h
+++ b/cc/playback/clip_path_display_item.h
@@ -27,7 +27,8 @@ class CC_EXPORT ClipPathDisplayItem : public DisplayItem {
void Raster(SkCanvas* canvas,
const gfx::Rect& canvas_target_playback_rect,
SkPicture::AbortCallback* callback) const override;
- void AsValueInto(base::trace_event::TracedValue* array) const override;
+ void AsValueInto(const gfx::Rect& visual_rect,
+ base::trace_event::TracedValue* array) const override;
private:
SkPath clip_path_;
@@ -49,7 +50,8 @@ class CC_EXPORT EndClipPathDisplayItem : public DisplayItem {
void Raster(SkCanvas* canvas,
const gfx::Rect& canvas_target_playback_rect,
SkPicture::AbortCallback* callback) const override;
- void AsValueInto(base::trace_event::TracedValue* array) const override;
+ void AsValueInto(const gfx::Rect& visual_rect,
+ base::trace_event::TracedValue* array) const override;
};
} // namespace cc
« no previous file with comments | « cc/playback/clip_display_item.cc ('k') | cc/playback/clip_path_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698