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

Unified Diff: cc/blink/web_display_item_list_impl.cc

Issue 2090203002: Remove antialiasing from views bounds rects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: std::max is bad apparently Created 4 years, 6 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 | « no previous file | cc/playback/clip_display_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_display_item_list_impl.cc
diff --git a/cc/blink/web_display_item_list_impl.cc b/cc/blink/web_display_item_list_impl.cc
index 8a7a57460856cf6c17483e8838cabd72bc682923..c524008ceb95ffda48950421a391c591233c95c5 100644
--- a/cc/blink/web_display_item_list_impl.cc
+++ b/cc/blink/web_display_item_list_impl.cc
@@ -67,11 +67,12 @@ void WebDisplayItemListImpl::appendClipItem(
for (size_t i = 0; i < rounded_clip_rects.size(); ++i) {
rounded_rects.push_back(rounded_clip_rects[i]);
}
+ bool antialias = true;
if (display_item_list_->RetainsIndividualDisplayItems()) {
display_item_list_->CreateAndAppendItem<cc::ClipDisplayItem>(
- visual_rect, clip_rect, rounded_rects);
+ visual_rect, clip_rect, rounded_rects, antialias);
} else {
- cc::ClipDisplayItem item(clip_rect, rounded_rects);
+ cc::ClipDisplayItem item(clip_rect, rounded_rects, antialias);
display_item_list_->RasterIntoCanvas(item);
}
}
« no previous file with comments | « no previous file | cc/playback/clip_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698