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

Unified Diff: ui/gfx/compositor/layer.cc

Issue 7552039: Vend common GL context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer comments. Created 9 years, 4 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 | « ui/gfx/compositor/compositor_win.cc ('k') | views/view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/layer.cc
diff --git a/ui/gfx/compositor/layer.cc b/ui/gfx/compositor/layer.cc
index 214b07e302018d8d1e316d1072e0af46ae625e2e..80612940840baceb4d5feb081c338d958b144d11 100644
--- a/ui/gfx/compositor/layer.cc
+++ b/ui/gfx/compositor/layer.cc
@@ -92,6 +92,7 @@ void Layer::Draw() {
// Only blend for transparent child layers.
// The root layer will clobber the cleared bg.
texture_draw_params.blend = parent_ != NULL && !fills_bounds_opaquely_;
+ texture_draw_params.compositor_size = compositor_->size();
#if defined(OS_WIN)
texture_->Draw(texture_draw_params);
« no previous file with comments | « ui/gfx/compositor/compositor_win.cc ('k') | views/view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698