@@ -124,7 +124,7 @@ static EGLDisplay initializeEGLDisplay(const GraphicsContextGLAttributes& attrs)
124
124
}
125
125
#if PLATFORM(MAC)
126
126
else if (attrs.windowGPUID ) {
127
- ASSERT (contains (clientExtensions, " EGL_ANGLE_platform_angle_device_id" _span));
127
+ ASSERT (WTF:: contains (clientExtensions, " EGL_ANGLE_platform_angle_device_id" _span));
128
128
// If the power preference is default, use the GPU the context window is on.
129
129
// If the power preference is low power, and we know which GPU the context window is on,
130
130
// most likely the lowest power is the GPU that drives the context window, as that GPU
@@ -136,7 +136,7 @@ static EGLDisplay initializeEGLDisplay(const GraphicsContextGLAttributes& attrs)
136
136
displayAttributes.append (static_cast <EGLAttrib>(attrs.windowGPUID ));
137
137
}
138
138
#endif
139
- ASSERT (contains (clientExtensions, " EGL_ANGLE_feature_control" _span));
139
+ ASSERT (WTF:: contains (clientExtensions, " EGL_ANGLE_feature_control" _span));
140
140
displayAttributes.append (EGL_FEATURE_OVERRIDES_DISABLED_ANGLE);
141
141
displayAttributes.append (reinterpret_cast <EGLAttrib>(disabledANGLEMetalFeatures));
142
142
displayAttributes.append (EGL_NONE);
@@ -152,7 +152,7 @@ static EGLDisplay initializeEGLDisplay(const GraphicsContextGLAttributes& attrs)
152
152
153
153
#if ASSERT_ENABLED && ENABLE(WEBXR)
154
154
auto displayExtensions = span8 (EGL_QueryString (display, EGL_EXTENSIONS));
155
- ASSERT (contains (displayExtensions, " EGL_ANGLE_metal_shared_event_sync" _span));
155
+ ASSERT (WTF:: contains (displayExtensions, " EGL_ANGLE_metal_shared_event_sync" _span));
156
156
#endif
157
157
158
158
return display;
0 commit comments