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

Unified Diff: cc/blink/web_content_layer_impl.cc

Issue 1489713004: Remove the clip parameter from ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clipremoval
Patch Set: 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: cc/blink/web_content_layer_impl.cc
diff --git a/cc/blink/web_content_layer_impl.cc b/cc/blink/web_content_layer_impl.cc
index 0a5fffef503d4456c9adc81ea947b9d613237c68..0eb381f3e65095c20e370efc23b85e3db50a28e3 100644
--- a/cc/blink/web_content_layer_impl.cc
+++ b/cc/blink/web_content_layer_impl.cc
@@ -64,13 +64,12 @@ gfx::Rect WebContentLayerImpl::PaintableRegion() {
scoped_refptr<cc::DisplayItemList>
WebContentLayerImpl::PaintContentsToDisplayList(
- const gfx::Rect& clip,
cc::ContentLayerClient::PaintingControlSetting painting_control) {
cc::DisplayItemListSettings settings;
settings.use_cached_picture = UseCachedPictureRaster();
scoped_refptr<cc::DisplayItemList> display_list =
- cc::DisplayItemList::Create(clip, settings);
+ cc::DisplayItemList::Create(PaintableRegion(), settings);
enne (OOO) 2015/12/01 22:46:25 Should this be set to the rect?
chrishtr 2015/12/01 23:01:20 Not sure what you mean here.
if (client_) {
WebDisplayItemListImpl list(display_list.get());
client_->paintContents(&list, PaintingControlToWeb(painting_control));

Powered by Google App Engine
This is Rietveld 408576698