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

Unified Diff: ui/compositor/clip_recorder.cc

Issue 2090203002: Remove antialiasing from views bounds rects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« cc/proto/display_item.proto ('K') | « cc/proto/display_item.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/clip_recorder.cc
diff --git a/ui/compositor/clip_recorder.cc b/ui/compositor/clip_recorder.cc
index 164bd799b234d674506c24303d23af7c27fd46da..0e316db1cab10e23433c4235dfd42352a4a185d1 100644
--- a/ui/compositor/clip_recorder.cc
+++ b/ui/compositor/clip_recorder.cc
@@ -47,9 +47,10 @@ static gfx::Rect PathToEnclosingRect(const gfx::Path& path) {
}
void ClipRecorder::ClipRect(const gfx::Rect& clip_rect) {
+ bool anti_alias = false;
danakj 2016/06/22 22:49:57 nit: antialias
Bret 2016/06/22 23:39:41 Changed everywhere in the file.
gfx::Rect clip_in_layer_space = context_.ToLayerSpaceRect(clip_rect);
context_.list_->CreateAndAppendItem<cc::ClipDisplayItem>(
- clip_in_layer_space, clip_rect, std::vector<SkRRect>());
+ clip_in_layer_space, clip_rect, std::vector<SkRRect>(), anti_alias);
RecordCloser(clip_in_layer_space, CLIP_RECT);
}
« cc/proto/display_item.proto ('K') | « cc/proto/display_item.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698