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

Unified Diff: sky/compositor/layer.cc

Issue 752653002: Enable the Sky compositor (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « no previous file | sky/compositor/layer_host.cc » ('j') | sky/compositor/layer_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/compositor/layer.cc
diff --git a/sky/compositor/layer.cc b/sky/compositor/layer.cc
index f138905e3f86d459e6705fcfb697d92d60ab45f4..7631db72c2d242658381da9410ce1adaeb1154b9 100644
--- a/sky/compositor/layer.cc
+++ b/sky/compositor/layer.cc
@@ -27,7 +27,6 @@ void Layer::SetSize(const gfx::Size& size) {
void Layer::Display() {
DCHECK(host_);
- mojo::GaneshContext::Scope scope(host_->ganesh_context());
mojo::GaneshSurface surface(host_->ganesh_context(),
host_->resource_manager()->CreateTexture(size_));
« no previous file with comments | « no previous file | sky/compositor/layer_host.cc » ('j') | sky/compositor/layer_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698