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

Unified Diff: content/common/gpu/client/gl_helper_benchmark.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_benchmark.cc
diff --git a/content/common/gpu/client/gl_helper_benchmark.cc b/content/common/gpu/client/gl_helper_benchmark.cc
index 75a204d1272cc4d40c7039d9436afab033df18f8..0d0da6fcac30867472a005c002c8c57da042ac98 100644
--- a/content/common/gpu/client/gl_helper_benchmark.cc
+++ b/content/common/gpu/client/gl_helper_benchmark.cc
@@ -67,7 +67,7 @@ class GLHelperTest : public testing::Test {
new content::GLHelper(context_->GetGLInterface(),
context_->GetContextSupport()));
helper_scaling_.reset(new content::GLHelperScaling(
- context_->GetGLInterface(),
+ context_->GetGLInterface(), context_->GetContextSupport(),
helper_.get()));
}

Powered by Google App Engine
This is Rietveld 408576698