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

Unified Diff: cc/test/test_web_graphics_context_3d.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/test/test_web_graphics_context_3d.h ('k') | cc/trees/layer_tree_host_unittest_copyrequest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_web_graphics_context_3d.cc
diff --git a/cc/test/test_web_graphics_context_3d.cc b/cc/test/test_web_graphics_context_3d.cc
index c8d2191ea47b409e1f125d2bc96ee78bee2b5923..b1a8ae37efe3e569e0646e76a1ab869869298b3f 100644
--- a/cc/test/test_web_graphics_context_3d.cc
+++ b/cc/test/test_web_graphics_context_3d.cc
@@ -184,13 +184,13 @@ void TestWebGraphicsContext3D::genTextures(GLsizei count, GLuint* ids) {
namespace_->textures.Append(ids[i], new TestTexture());
}
-void TestWebGraphicsContext3D::deleteBuffers(GLsizei count, GLuint* ids) {
+void TestWebGraphicsContext3D::deleteBuffers(GLsizei count, const GLuint* ids) {
for (int i = 0; i < count; ++i)
RetireBufferId(ids[i]);
}
-void TestWebGraphicsContext3D::deleteFramebuffers(
- GLsizei count, GLuint* ids) {
+void TestWebGraphicsContext3D::deleteFramebuffers(GLsizei count,
+ const GLuint* ids) {
for (int i = 0; i < count; ++i) {
if (ids[i]) {
RetireFramebufferId(ids[i]);
@@ -200,13 +200,14 @@ void TestWebGraphicsContext3D::deleteFramebuffers(
}
}
-void TestWebGraphicsContext3D::deleteRenderbuffers(
- GLsizei count, GLuint* ids) {
+void TestWebGraphicsContext3D::deleteRenderbuffers(GLsizei count,
+ const GLuint* ids) {
for (int i = 0; i < count; ++i)
RetireRenderbufferId(ids[i]);
}
-void TestWebGraphicsContext3D::deleteTextures(GLsizei count, GLuint* ids) {
+void TestWebGraphicsContext3D::deleteTextures(GLsizei count,
+ const GLuint* ids) {
for (int i = 0; i < count; ++i)
RetireTextureId(ids[i]);
base::AutoLock lock(namespace_->lock);
« no previous file with comments | « cc/test/test_web_graphics_context_3d.h ('k') | cc/trees/layer_tree_host_unittest_copyrequest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698