Bug 1066280 - Fix non-unified bustage. CLOSED TREE
authorJeff Gilbert <jgilbert@mozilla.com>
Fri, 10 Oct 2014 13:57:19 -0700
changeset 209905 57a53c8b472ea9edf22aafb6d39b0813e75fabcc
parent 209904 24ffba42510dae9ee20a80849772349b9a1ddf1b
child 209906 a1e44f48ddbdc4cf573bd23db01f35804e414bde
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
bugs1066280
milestone35.0a1
Bug 1066280 - Fix non-unified bustage. CLOSED TREE
gfx/gl/GLScreenBuffer.cpp
--- a/gfx/gl/GLScreenBuffer.cpp
+++ b/gfx/gl/GLScreenBuffer.cpp
@@ -43,20 +43,20 @@ GLScreenBuffer::Create(GLContext* gl,
 
 #ifdef MOZ_WIDGET_GONK
     /* On B2G, we want a Gralloc factory, and we want one right at the start */
     layers::ISurfaceAllocator* allocator = caps.surfaceAllocator;
     if (!factory &&
         allocator &&
         XRE_GetProcessType() != GeckoProcessType_Default)
     {
-        layers::TextureFlags flags = TextureFlags::DEALLOCATE_CLIENT |
-                                     TextureFlags::NEEDS_Y_FLIP;
+        layers::TextureFlags flags = layers::TextureFlags::DEALLOCATE_CLIENT |
+                                     layers::TextureFlags::NEEDS_Y_FLIP;
         if (!caps.premultAlpha) {
-            flags |= TextureFlags::NON_PREMULTIPLIED;
+            flags |= layers::TextureFlags::NON_PREMULTIPLIED;
         }
 
         factory = MakeUnique<SurfaceFactory_Gralloc>(gl, caps, flags,
                                                      allocator);
     }
 #endif
 #ifdef XP_MACOSX
     /* On OSX, we want an IOSurface factory, and we want one right at the start */