summaryrefslogtreecommitdiffstats
path: root/ui/gl
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-27 03:06:27 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-27 03:06:27 +0000
commit83afcbcc9bf7be3cdf91a4a6af573638c042a694 (patch)
treef651806f511203f05f5fe71583454852bc6be710 /ui/gl
parentaf7023c1a1ff7265761522a6ecb0a46697e77fa7 (diff)
downloadchromium_src-83afcbcc9bf7be3cdf91a4a6af573638c042a694.zip
chromium_src-83afcbcc9bf7be3cdf91a4a6af573638c042a694.tar.gz
chromium_src-83afcbcc9bf7be3cdf91a4a6af573638c042a694.tar.bz2
ui: No need to typedef testing::Test in unittests.
TEST() macro should be used instead. TEST=ui_unittests R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10808072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148710 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl')
-rw-r--r--ui/gl/gl_context_glx.cc2
-rw-r--r--ui/gl/gl_implementation_android.cc2
-rw-r--r--ui/gl/gl_implementation_linux.cc2
-rw-r--r--ui/gl/gl_implementation_mac.cc2
-rw-r--r--ui/gl/gl_implementation_win.cc2
-rw-r--r--ui/gl/gl_surface_glx.cc2
-rw-r--r--ui/gl/gl_surface_linux.cc2
7 files changed, 7 insertions, 7 deletions
diff --git a/ui/gl/gl_context_glx.cc b/ui/gl/gl_context_glx.cc
index b895548..db5534b 100644
--- a/ui/gl/gl_context_glx.cc
+++ b/ui/gl/gl_context_glx.cc
@@ -30,7 +30,7 @@ class ScopedPtrXFree {
}
};
-} // namespace anonymous
+} // namespace
GLContextGLX::GLContextGLX(GLShareGroup* share_group)
: GLContext(share_group),
diff --git a/ui/gl/gl_implementation_android.cc b/ui/gl/gl_implementation_android.cc
index 254c037..052f48f 100644
--- a/ui/gl/gl_implementation_android.cc
+++ b/ui/gl/gl_implementation_android.cc
@@ -38,7 +38,7 @@ base::NativeLibrary LoadLibrary(const char* filename) {
return LoadLibrary(FilePath(filename));
}
-} // namespace anonymous
+} // namespace
void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) {
impls->push_back(kGLImplementationEGLGLES2);
diff --git a/ui/gl/gl_implementation_linux.cc b/ui/gl/gl_implementation_linux.cc
index 35f68ac..e5ca5f6 100644
--- a/ui/gl/gl_implementation_linux.cc
+++ b/ui/gl/gl_implementation_linux.cc
@@ -45,7 +45,7 @@ base::NativeLibrary LoadLibrary(const char* filename) {
return LoadLibrary(FilePath(filename));
}
-} // namespace anonymous
+} // namespace
void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) {
impls->push_back(kGLImplementationDesktopGL);
diff --git a/ui/gl/gl_implementation_mac.cc b/ui/gl/gl_implementation_mac.cc
index f05e3eb9..500999a 100644
--- a/ui/gl/gl_implementation_mac.cc
+++ b/ui/gl/gl_implementation_mac.cc
@@ -16,7 +16,7 @@ namespace gfx {
namespace {
const char kOpenGLFrameworkPath[] =
"/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL";
-} // namespace anonymous
+} // namespace
void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) {
impls->push_back(kGLImplementationDesktopGL);
diff --git a/ui/gl/gl_implementation_win.cc b/ui/gl/gl_implementation_win.cc
index 0550e6f..eaec391 100644
--- a/ui/gl/gl_implementation_win.cc
+++ b/ui/gl/gl_implementation_win.cc
@@ -51,7 +51,7 @@ bool LoadD3DXLibrary(const FilePath& module_path,
return true;
}
-} // namespace anonymous
+} // namespace
void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) {
impls->push_back(kGLImplementationEGLGLES2);
diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc
index dcafb21..efb0309 100644
--- a/ui/gl/gl_surface_glx.cc
+++ b/ui/gl/gl_surface_glx.cc
@@ -37,7 +37,7 @@ Display* g_display;
const char* g_glx_extensions = NULL;
bool g_glx_create_context_robustness_supported = false;
-} // namespace anonymous
+} // namespace
GLSurfaceGLX::GLSurfaceGLX() {}
diff --git a/ui/gl/gl_surface_linux.cc b/ui/gl/gl_surface_linux.cc
index 03ab514..75542c3 100644
--- a/ui/gl/gl_surface_linux.cc
+++ b/ui/gl/gl_surface_linux.cc
@@ -20,7 +20,7 @@ namespace gfx {
namespace {
Display* g_osmesa_display;
-} // namespace anonymous
+} // namespace
// This OSMesa GL surface can use XLib to swap the contents of the buffer to a
// view.