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

Unified Diff: ui/wm/core/shadow.cc

Issue 2239233002: [ash-md] Fades overview header in and out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Fades overview header in and out (rebase) Created 4 years, 3 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
Index: ui/wm/core/shadow.cc
diff --git a/ui/wm/core/shadow.cc b/ui/wm/core/shadow.cc
index 26ebde6ee3335b2b3bfa4756317c07c69d342543..7783386e994fe699c369ceb7a759ffde5dc42d20 100644
--- a/ui/wm/core/shadow.cc
+++ b/ui/wm/core/shadow.cc
@@ -195,11 +195,11 @@ void Shadow::UpdateLayerBounds() {
gfx::Rect(aperture_x, aperture_y, aperture_x * 2, aperture_y * 2));
// The content bounds in the shadow's layer space are offsetted by
- // |interior_inset_|. The occlusion area also has to be shrinked to
+ // |interior_inset_|. The occlusion area also has to be shrunk to
// allow rounded corners overdrawing on top of the window's content.
gfx::Rect content_bounds(
- content_bounds_.x() + interior_inset_ + kRoundedCornerRadius,
- content_bounds_.y() + interior_inset_ + kRoundedCornerRadius,
+ interior_inset_ + kRoundedCornerRadius,
+ interior_inset_ + kRoundedCornerRadius,
varkha 2016/09/02 11:22:51 This small bug is fairly recent - https://coderevi
varkha 2016/09/02 15:43:56 Done. https://codereview.chromium.org/2302773005/
content_bounds_.width() - 2 * kRoundedCornerRadius,
content_bounds_.height() - 2 * kRoundedCornerRadius);
shadow_layer_->UpdateNinePatchOcclusion(content_bounds);
« ash/common/wm/overview/window_selector_item.cc ('K') | « ui/aura/client/aura_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698