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

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

Issue 2471853002: remove 'unsafe' from ES3 apis in gpu process (Closed)
Patch Set: forgot to save file Created 4 years, 1 month 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/gles2_cmd_decoder_unittest_base.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
index 4a2fe99b5af1cbf15c27ec80be3fec5b92dfebf1..e4dd9863f3231c6db21cf338760aafcca0007489 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
@@ -541,7 +541,7 @@ void GLES2DecoderTestBase::ResetDecoder() {
.Times(1)
.RetiresOnSaturation();
}
- if (group_->feature_info()->IsES3Enabled()) {
+ if (group_->feature_info()->IsWebGL2OrES3Context()) {
// fake default transform feedback.
EXPECT_CALL(*gl_, DeleteTransformFeedbacks(1, _))
.Times(1)

Powered by Google App Engine
This is Rietveld 408576698