Fix WindowAndroid leak in Android WebView
[chromium-blink-merge.git] / ui / gl / gl_mock.cc
blob3b835792202bd7c8154a1043bf38202514e26e16
1 // Copyright (c) 2010 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_mock.h"
7 namespace gfx {
9 MockGLInterface::MockGLInterface() {
12 MockGLInterface::~MockGLInterface() {
15 MockGLInterface* MockGLInterface::interface_;
17 void MockGLInterface::SetGLInterface(MockGLInterface* gl_interface) {
18 interface_ = gl_interface;
21 } // namespace gfx