summaryrefslogtreecommitdiffstats
path: root/ui/gl
diff options
context:
space:
mode:
authormiket@chromium.org <miket@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 19:27:30 +0000
committermiket@chromium.org <miket@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 19:27:30 +0000
commit3b94628f7d3157770e58974a5ef03aba589179a4 (patch)
treedaad848c83942b63f03fea0883566c057bacf93d /ui/gl
parent1f30b2c9d395d78ddf8f8f9de9cfd636b8d7689c (diff)
downloadchromium_src-3b94628f7d3157770e58974a5ef03aba589179a4.zip
chromium_src-3b94628f7d3157770e58974a5ef03aba589179a4.tar.gz
chromium_src-3b94628f7d3157770e58974a5ef03aba589179a4.tar.bz2
Revert 171544
> Basic pixel tests for cc > > BUG= > > > Review URL: https://chromiumcodereview.appspot.com/11412289 TBR=jamesr@chromium.org Review URL: https://codereview.chromium.org/11470003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171557 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl')
-rw-r--r--ui/gl/gl_implementation_mac.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/gl/gl_implementation_mac.cc b/ui/gl/gl_implementation_mac.cc
index 0b22e43..d22082e 100644
--- a/ui/gl/gl_implementation_mac.cc
+++ b/ui/gl/gl_implementation_mac.cc
@@ -49,10 +49,6 @@ bool InitializeGLBindings(GLImplementation implementation) {
return false;
}
FilePath bundle_path = base::mac::GetAppBundlePath(exe_path);
- // Some unit test targets depend on osmesa but aren't built as app
- // bundles. In that case, the .so is next to the executable.
- if (bundle_path.empty())
- bundle_path = exe_path;
FilePath build_dir_path = bundle_path.DirName();
FilePath osmesa_path = build_dir_path.Append("osmesa.so");