| Index: ui/gl/gl_surface_egl.cc
|
| diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
|
| index 3f37fc213cad1f94aeda6618e688e5855e55b791..5a6d88790bad822d7b02b239579b86f3a6de5e97 100644
|
| --- a/ui/gl/gl_surface_egl.cc
|
| +++ b/ui/gl/gl_surface_egl.cc
|
| @@ -1083,7 +1083,7 @@ bool PbufferGLSurfaceEGL::Initialize(GLSurfaceFormat format) {
|
| // to use a compatible config. We expect the client to request RGB565
|
| // onscreen surface also for this to work (with the exception of
|
| // fullscreen video).
|
| - if (base::SysInfo::IsLowEndDevice())
|
| + if (base::SysInfo::AmountOfPhysicalMemoryMB() <= 512)
|
| format.SetRGB565();
|
| #endif
|
|
|
|
|