Chromium Code Reviews| Index: ui/gl/gl_egl_api_implementation.h |
| diff --git a/ui/gl/gl_egl_api_implementation.h b/ui/gl/gl_egl_api_implementation.h |
| index 46f5f842961de97fc5fe7ab6c897fd3653823e69..b4a248b24e1b349b3d61fdde42d83fd5e9653cdf 100644 |
| --- a/ui/gl/gl_egl_api_implementation.h |
| +++ b/ui/gl/gl_egl_api_implementation.h |
| @@ -50,6 +50,10 @@ class GL_EXPORT RealEGLApi : public EGLApiBase { |
| const char* eglQueryStringFn(EGLDisplay dpy, EGLint name) override; |
| + const std::vector<std::string>& DisabledExtensions() { |
| + return disabled_exts_; |
|
David Yen
2015/06/23 16:38:50
By returning filtered_exts_ instead, we could prob
|
| + } |
| + |
| private: |
| // Filtered EGL_EXTENSIONS we return to eglQueryStringFn() calls. |
| std::vector<std::string> disabled_exts_; |