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

Unified Diff: cc/test/test_gles2_interface.cc

Issue 2687143003: Fix flaky LayerTreeHostCopyRequestTestDeleteTexture test. (Closed)
Patch Set: flaky-copyrequest: . Created 3 years, 10 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 | « cc/resources/video_resource_updater_unittest.cc ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_gles2_interface.cc
diff --git a/cc/test/test_gles2_interface.cc b/cc/test/test_gles2_interface.cc
index a8b27c2d0e41aec7826826bb6032ba9599ba1ee5..c11375a68a7031a9e189b06a31eef77661d48758 100644
--- a/cc/test/test_gles2_interface.cc
+++ b/cc/test/test_gles2_interface.cc
@@ -44,9 +44,7 @@ void TestGLES2Interface::GenQueriesEXT(GLsizei n, GLuint* queries) {
}
void TestGLES2Interface::DeleteTextures(GLsizei n, const GLuint* textures) {
- for (GLsizei i = 0; i < n; ++i) {
- test_context_->deleteTexture(textures[i]);
- }
+ test_context_->deleteTextures(n, textures);
}
void TestGLES2Interface::DeleteBuffers(GLsizei n, const GLuint* buffers) {
« no previous file with comments | « cc/resources/video_resource_updater_unittest.cc ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698