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

Unified Diff: cc/resources/video_resource_updater_unittest.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 | « no previous file | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/video_resource_updater_unittest.cc
diff --git a/cc/resources/video_resource_updater_unittest.cc b/cc/resources/video_resource_updater_unittest.cc
index dce047cd523f382c989318a9bd421f9f2dc28710..4b54fbe759f3cfb2c014f880d73c6b21bc93418d 100644
--- a/cc/resources/video_resource_updater_unittest.cc
+++ b/cc/resources/video_resource_updater_unittest.cc
@@ -55,6 +55,11 @@ class WebGraphicsContext3DUploadCounter : public TestWebGraphicsContext3D {
TestWebGraphicsContext3D::deleteTexture(texture);
}
+ void deleteTextures(GLsizei count, const GLuint* ids) override {
+ created_texture_count_ -= count;
+ TestWebGraphicsContext3D::deleteTextures(count, ids);
+ }
+
int UploadCount() { return upload_count_; }
void ResetUploadCount() { upload_count_ = 0; }
« no previous file with comments | « no previous file | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698