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

Unified Diff: gpu/command_buffer/service/vertex_attrib_manager_unittest.cc

Issue 2435803004: Initialize buffers before allowing access to them. (Closed)
Patch Set: win failure Created 4 years, 2 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
Index: gpu/command_buffer/service/vertex_attrib_manager_unittest.cc
diff --git a/gpu/command_buffer/service/vertex_attrib_manager_unittest.cc b/gpu/command_buffer/service/vertex_attrib_manager_unittest.cc
index 1492cb18a787c11fcae67794310bcfbda24a6451..5701162880c94cdde2f50050b13f1680fff826af 100644
--- a/gpu/command_buffer/service/vertex_attrib_manager_unittest.cc
+++ b/gpu/command_buffer/service/vertex_attrib_manager_unittest.cc
@@ -147,7 +147,6 @@ TEST_F(VertexAttribManagerTest, CanAccess) {
EXPECT_TRUE(attrib->CanAccess(0));
manager_->Enable(1, true);
- EXPECT_FALSE(attrib->CanAccess(0));
manager_->SetAttribInfo(1, buffer, 4, GL_FLOAT, GL_FALSE, 0, 16, 0, GL_FALSE);
EXPECT_FALSE(attrib->CanAccess(0));
@@ -228,5 +227,3 @@ TEST_F(VertexAttribManagerTest, Unbind) {
} // namespace gles2
} // namespace gpu
-
-

Powered by Google App Engine
This is Rietveld 408576698