diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-16 14:34:59 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-16 14:36:13 +0000 |
commit | dab86621b4b7388ec9f73708b4f9156f1ad2ee2e (patch) | |
tree | 3480a333e8eeb65377f12c96122168f5b10fa8b7 /ui | |
parent | 0f0eb8c5bb69009cf575fbc32391f645758d0ddc (diff) | |
download | chromium_src-dab86621b4b7388ec9f73708b4f9156f1ad2ee2e.zip chromium_src-dab86621b4b7388ec9f73708b4f9156f1ad2ee2e.tar.gz chromium_src-dab86621b4b7388ec9f73708b4f9156f1ad2ee2e.tar.bz2 |
Attempt to fix Linux ChromiumOS Ozone Builder after r290136.
BUG=
TBR=jamesr@chromium.org
Review URL: https://codereview.chromium.org/483493002
Cr-Commit-Position: refs/heads/master@{#290146}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290146 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gl/gl_surface_ozone.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc index c136787..d71867c 100644 --- a/ui/gl/gl_surface_ozone.cc +++ b/ui/gl/gl_surface_ozone.cc @@ -154,7 +154,8 @@ scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface( const gfx::Size& size) { switch (GetGLImplementation()) { case kGLImplementationOSMesaGL: { - scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(1, size)); + scoped_refptr<GLSurface> surface( + new GLSurfaceOSMesa(OSMesaSurfaceFormatBGRA, size)); if (!surface->Initialize()) return NULL; |