Bleh, forgot to qref, still fixing bug 1037100. r=bustage
authorJeff Walden <jwalden@mit.edu>
Fri, 11 Jul 2014 21:05:59 -0700
changeset 215649 939d6ea39a64b538564aa1ca21a677e4e3ea0f00
parent 215648 47c74a2baf08c5a184015bbe5dd471679d3a8dd2
child 215650 326bab27cc3c33a56948ff07c7189107043b757a
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1037100
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bleh, forgot to qref, still fixing bug 1037100. r=bustage
gfx/gl/SharedSurfaceGralloc.cpp
--- a/gfx/gl/SharedSurfaceGralloc.cpp
+++ b/gfx/gl/SharedSurfaceGralloc.cpp
@@ -218,17 +218,17 @@ SharedSurface_Gralloc::Fence()
     }
 
     // We should be able to rely on genlock write locks/read locks.
     // But they're broken on some configs, and even a glFinish doesn't
     // work.  glReadPixels seems to, though.
     if (gfxPrefs::GrallocFenceWithReadPixels()) {
         mGL->MakeCurrent();
         UniquePtr<char[]> buf = MakeUnique<char[]>(4);
-        mGL->fReadPixels(0, 0, 1, 1, LOCAL_GL_RGBA, LOCAL_GL_UNSIGNED_BYTE, buf);
+        mGL->fReadPixels(0, 0, 1, 1, LOCAL_GL_RGBA, LOCAL_GL_UNSIGNED_BYTE, buf.get());
     }
 }
 
 bool
 SharedSurface_Gralloc::WaitSync()
 {
     if (!mSync) {
         // We must not be needed.