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

Unified Diff: cc/output/in_process_context_provider.cc

Issue 2866353002: Add workaround for Mac stencil buffer leak (Closed)
Patch Set: Fix analyze issue Created 3 years, 7 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 | « no previous file | cc/test/test_in_process_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/in_process_context_provider.cc
diff --git a/cc/output/in_process_context_provider.cc b/cc/output/in_process_context_provider.cc
index 9fd6d182417774756ff437c68fd623d87de68394..79e7adf9fe2087017f5a854f5b89ab7a3e41ec35 100644
--- a/cc/output/in_process_context_provider.cc
+++ b/cc/output/in_process_context_provider.cc
@@ -103,7 +103,8 @@ class GrContext* InProcessContextProvider::GrContext() {
if (gr_context_)
return gr_context_->get();
- gr_context_.reset(new skia_bindings::GrContextForGLES2Interface(ContextGL()));
+ gr_context_.reset(new skia_bindings::GrContextForGLES2Interface(
+ ContextGL(), ContextCapabilities()));
return gr_context_->get();
}
« no previous file with comments | « no previous file | cc/test/test_in_process_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698