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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.cc

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 | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | ui/compositor/clip_recorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_strip.cc
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
index bfc6da2583ac3cabd670cb84803322a92f01e6f1..98544cfce9ccec2e9a2ddca38c00f75e5bf65084 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
@@ -1268,7 +1268,8 @@ void TabStrip::PaintChildren(const ui::PaintContext& context) {
const uint8_t inactive_tab_alpha =
(host_desktop_type == chrome::HOST_DESKTOP_TYPE_ASH) ?
GetInactiveAlpha(false) : 255;
- ui::CompositingRecorder opacity_recorder(context, inactive_tab_alpha);
+ ui::CompositingRecorder opacity_recorder(context, size(),
+ inactive_tab_alpha);
PaintClosingTabs(tab_count(), context);
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | ui/compositor/clip_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698