| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
static bool is_emulator = []() {I don't think we need this lambda. `static bool is_emulator` will be initialized only once anyway.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
I don't think we need this lambda. `static bool is_emulator` will be initialized only once anyway.
Oh, you're right. Not sure why I decided that lambda is needed here. Removed.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
3 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: ui/gl/gl_surface_egl.cc
Insertions: 3, Deletions: 4.
@@ -133,10 +133,9 @@
bool IsAndroidEmulator() {
#if BUILDFLAG(IS_ANDROID)
- static bool is_emulator = []() {
- return base::SysInfo::GetAndroidHardwareEGL() == "swiftshader" ||
- base::SysInfo::GetAndroidHardwareEGL() == "emulation";
- }();
+ static bool is_emulator =
+ base::SysInfo::GetAndroidHardwareEGL() == "swiftshader" ||
+ base::SysInfo::GetAndroidHardwareEGL() == "emulation";
return is_emulator;
#else
return false;
```
Fix media tests on angle / android emulator
Android emulator's swiftshader doesn't support RECORDABLE, it was added
to the later version of the swift shader.
It always returns config without recordable set. While we don't
validate it in chromium, angle is more strict and fails to find
appropriate config.
NDK encoder unit tests pass with this change.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |