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

Unified Diff: content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc

Issue 123613005: [Mac] Resolve trybot flakiness: DCHECK fail when deleting GL shader programs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc
diff --git a/content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc b/content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc
index 87f0f341be2c532856b888f4d6dd6703d8ce2617..753c180dbf5466eaed5bf30cb76c821318f8ee13 100644
--- a/content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc
+++ b/content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc
@@ -358,8 +358,6 @@ void CompositingIOSurfaceShaderPrograms::Reset() {
for (size_t i = 0; i < arraysize(shader_programs_); ++i) {
if (shader_programs_[i] != 0u) {
glDeleteProgram(shader_programs_[i]);
- DCHECK(glGetError() == GL_NO_ERROR)
- << "when calling glDeleteProgram(shader_programs_[" << i << "])";
shader_programs_[i] = 0u;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698