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

Unified Diff: components/mus/gles2/command_buffer_driver.cc

Issue 1338433002: Mandoline: Add WebGL support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address review issues Created 5 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: components/mus/gles2/command_buffer_driver.cc
diff --git a/components/mus/gles2/command_buffer_driver.cc b/components/mus/gles2/command_buffer_driver.cc
index 7207b037228901aa4f086a5b72f93c8811201d1a..c03d112001b6bc886787cba8470045b57aea2652 100644
--- a/components/mus/gles2/command_buffer_driver.cc
+++ b/components/mus/gles2/command_buffer_driver.cc
@@ -115,7 +115,7 @@ bool CommandBufferDriver::DoInitialize(
// TODO(piman): attributes.
std::vector<int32> attrib_vector;
- if (!decoder_->Initialize(surface_, context_, false /* offscreen */,
+ if (!decoder_->Initialize(surface_, context_, true /* offscreen */,
sky 2015/09/15 22:10:59 Should the comment read onscreen now?
Peng 2015/09/16 13:54:59 Actually not. The parameter's name is offscreen.
gfx::Size(1, 1), disallowed_features,
attrib_vector))
return false;

Powered by Google App Engine
This is Rietveld 408576698