| Index: ui/gl/gl_surface.cc
|
| diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
|
| index a8275039ca75952c0c502bfce9e6f13248ba97ff..df4588b8664639b60b489ce2ff71843ea6343792 100644
|
| --- a/ui/gl/gl_surface.cc
|
| +++ b/ui/gl/gl_surface.cc
|
| @@ -161,7 +161,9 @@ void GLSurface::InitializeDynamicMockBindingsForTests(GLContext* context) {
|
| CHECK(InitializeDynamicGLBindings(kGLImplementationMockGL, context));
|
| }
|
|
|
| -GLSurface::GLSurface() {}
|
| +GLSurface::GLSurface(SurfaceConfiguration requested_configuration)
|
| + : surface_configuration_(requested_configuration) {
|
| +}
|
|
|
| bool GLSurface::Initialize() {
|
| return true;
|
| @@ -294,7 +296,9 @@ bool GLSurface::ExtensionsContain(const char* c_extensions, const char* name) {
|
| void GLSurface::OnSetSwapInterval(int interval) {
|
| }
|
|
|
| -GLSurfaceAdapter::GLSurfaceAdapter(GLSurface* surface) : surface_(surface) {}
|
| +GLSurfaceAdapter::GLSurfaceAdapter(GLSurface* surface)
|
| + : GLSurface(surface->GetSurfaceConfiguration()), surface_(surface) {
|
| +}
|
|
|
| bool GLSurfaceAdapter::Initialize() {
|
| return surface_->Initialize();
|
|
|