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

Unified Diff: content/common/gpu/client/gl_helper.cc

Issue 1160863007: DCHECK if shader compilation fails that it's due to context loss. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: glhelperlost: . Created 5 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
Index: content/common/gpu/client/gl_helper.cc
diff --git a/content/common/gpu/client/gl_helper.cc b/content/common/gpu/client/gl_helper.cc
index 89dd8a9f8bb6527e9a7ffbf18a02631254f0925d..0bd832d1cc9effce98d1702d4660dfd50318a2ba 100644
--- a/content/common/gpu/client/gl_helper.cc
+++ b/content/common/gpu/client/gl_helper.cc
@@ -906,7 +906,7 @@ void GLHelper::InitCopyTextToImpl() {
void GLHelper::InitScalerImpl() {
// Lazily initialize |scaler_impl_|
if (!scaler_impl_)
- scaler_impl_.reset(new GLHelperScaling(gl_, this));
+ scaler_impl_.reset(new GLHelperScaling(gl_, context_support_, this));
}
GLint GLHelper::MaxDrawBuffers() {

Powered by Google App Engine
This is Rietveld 408576698