Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 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. | |
| 4 | |
| 5 #include "ui/gl/gl_context_mock_version.h" | |
| 6 #include "ui/gl/gl_version_info.h" | |
| 7 | |
| 8 namespace gfx { | |
| 9 | |
| 10 GLContextMockVersion::GLContextMockVersion(const char* version_str) | |
| 11 : GLContextStub() | |
| 12 , version_str_(version_str) | |
|
piman
2013/12/04 22:45:12
nit: ',' on previous line.
oetuaho
2013/12/05 09:47:14
Done.
| |
| 13 {} | |
| 14 | |
| 15 std::string GLContextMockVersion::GetGLVersion() { | |
| 16 return std::string(version_str_); | |
| 17 } | |
| 18 | |
| 19 GLContextMockVersion::~GLContextMockVersion() {} | |
| 20 | |
| 21 } // namespace gfx | |
| OLD | NEW |