summaryrefslogtreecommitdiff
path: root/chromium/gpu/command_buffer/service/test_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/gpu/command_buffer/service/test_helper.cc')
-rw-r--r--chromium/gpu/command_buffer/service/test_helper.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/gpu/command_buffer/service/test_helper.cc b/chromium/gpu/command_buffer/service/test_helper.cc
index da9d7c4cd68..eeba4aa9b98 100644
--- a/chromium/gpu/command_buffer/service/test_helper.cc
+++ b/chromium/gpu/command_buffer/service/test_helper.cc
@@ -10,8 +10,9 @@
#include <algorithm>
#include <string>
-#include "base/stl_util.h"
+#include "base/cxx17_backports.h"
#include "base/strings/string_number_conversions.h"
+#include "build/build_config.h"
#include "gpu/command_buffer/service/buffer_manager.h"
#include "gpu/command_buffer/service/error_state_mock.h"
#include "gpu/command_buffer/service/feature_info.h"
@@ -676,6 +677,7 @@ void TestHelper::SetupFeatureInfoInitExpectationsWithGLVersion(
.RetiresOnSaturation();
}
+#if !defined(OS_MAC)
if (gl_info.is_es3 || gl_info.is_desktop_core_profile ||
gfx::HasExtension(extension_set, "GL_EXT_texture_rg") ||
(gfx::HasExtension(extension_set, "GL_ARB_texture_rg"))) {
@@ -734,6 +736,7 @@ void TestHelper::SetupFeatureInfoInitExpectationsWithGLVersion(
.RetiresOnSaturation();
#endif
}
+#endif // !defined(OS_MAC)
}
void TestHelper::SetupExpectationsForClearingUniforms(::gl::MockGLInterface* gl,