Revert 219061 "Introduce facade for interaction with Android Sur..."
[chromium-blink-merge.git] / ui / gl / gl_interface.cc
blob0cb61e71649c615fcd5f50cc1e12563c2230c8f4
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/gl/gl_interface.h"
7 namespace gfx {
9 GLInterface* GLInterface::interface_;
11 void GLInterface::SetGLInterface(GLInterface* gl_interface) {
12 interface_ = gl_interface;
15 GLInterface* GLInterface::GetGLInterface() {
16 return interface_;
19 } // namespace gfx