| Index: ui/gl/gl_share_group.cc
|
| diff --git a/ui/gl/gl_share_group.cc b/ui/gl/gl_share_group.cc
|
| index 34f7c7f2f14c0248fa9c2d86bc9882588056eb8f..a2e73ec0ff0597587b49262613e1d670420e1651 100644
|
| --- a/ui/gl/gl_share_group.cc
|
| +++ b/ui/gl/gl_share_group.cc
|
| @@ -10,7 +10,11 @@
|
| namespace gfx {
|
|
|
| GLShareGroup::GLShareGroup()
|
| - : shared_context_(NULL) {
|
| + : shared_context_(NULL)
|
| +#if defined(OS_MACOSX)
|
| + , renderer_(-1)
|
| +#endif
|
| + {
|
| }
|
|
|
| void GLShareGroup::AddContext(GLContext* context) {
|
| @@ -51,6 +55,16 @@ GLContext* GLShareGroup::GetSharedContext() {
|
| return shared_context_;
|
| }
|
|
|
| +#if defined(OS_MACOSX)
|
| +void GLShareGroup::SetRenderer(int renderer) {
|
| + renderer_ = renderer;
|
| +}
|
| +
|
| +int GLShareGroup::GetRenderer() {
|
| + return renderer_;
|
| +}
|
| +#endif
|
| +
|
| GLShareGroup::~GLShareGroup() {
|
| }
|
|
|
|
|