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

Unified Diff: ui/gl/test/gl_image_test_template.h

Issue 1709443002: Clear IOSurfaces immediately after creating them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from reveman. Created 4 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
« ui/gfx/mac/io_surface.cc ('K') | « ui/gfx/mac/io_surface.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/test/gl_image_test_template.h
diff --git a/ui/gl/test/gl_image_test_template.h b/ui/gl/test/gl_image_test_template.h
index 09b451c5b3c9491ae1d308ebf418498c9476b465..e2f73ab6329b2e8e0f38592c6f025196ce32c2f5 100644
--- a/ui/gl/test/gl_image_test_template.h
+++ b/ui/gl/test/gl_image_test_template.h
@@ -171,7 +171,7 @@ TYPED_TEST_CASE_P(GLImageZeroInitializeTest);
// TODO(erikchen): Enable this test when it actually passes on Mac.
// https://crbug.com/584760.
Avi (use Gerrit) 2016/02/17 23:07:25 Drop the comment? It's no longer accurate.
erikchen 2016/02/17 23:55:30 Done.
-TYPED_TEST_P(GLImageZeroInitializeTest, DISABLED_ZeroInitialize) {
+TYPED_TEST_P(GLImageZeroInitializeTest, ZeroInitialize) {
const gfx::Size image_size(256, 256);
scoped_refptr<gl::GLImage> image = this->delegate_.CreateImage(image_size);
GLenum target = this->delegate_.GetTextureTarget();
@@ -205,7 +205,7 @@ TYPED_TEST_P(GLImageZeroInitializeTest, DISABLED_ZeroInitialize) {
glDeleteTextures(1, &uninitialized_texture);
}
-REGISTER_TYPED_TEST_CASE_P(GLImageZeroInitializeTest, DISABLED_ZeroInitialize);
+REGISTER_TYPED_TEST_CASE_P(GLImageZeroInitializeTest, ZeroInitialize);
template <typename GLImageTestDelegate>
class GLImageCopyTest : public GLImageTest<GLImageTestDelegate> {};
« ui/gfx/mac/io_surface.cc ('K') | « ui/gfx/mac/io_surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698