Fix rebase error for bug 1012407 (r=CLOSED TREE)
authorAndreas Gal <gal@mozilla.com>
Wed, 28 May 2014 14:24:23 -0400
changeset 185456 0fe2a43a768bd462c509e93365ba6645ae89642c
parent 185455 aae0e167ebcebf302d43871317e9c6521248f84c
child 185457 5f627f02f933cced1239a6ba334bde17ee1974bf
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersCLOSED
bugs1012407
milestone32.0a1
Fix rebase error for bug 1012407 (r=CLOSED TREE)
gfx/layers/opengl/TextureHostOGL.cpp
--- a/gfx/layers/opengl/TextureHostOGL.cpp
+++ b/gfx/layers/opengl/TextureHostOGL.cpp
@@ -257,17 +257,16 @@ TextureImageTextureSourceOGL::Update(gfx
       // XXX - clarify which size we want to use. IncrementalContentHost will
       // require the size of the destination surface to be different from
       // the size of aSurface.
       // See bug 893300 (tracks the implementation of ContentHost for new textures).
       mTexImage = CreateTextureImage(mGL,
                                      size,
                                      gfx::ContentForFormat(aSurface->GetFormat()),
                                      LOCAL_GL_CLAMP_TO_EDGE,
-                                     WrapMode(mGL, mFlags),
                                      FlagsToGLFlags(mFlags),
                                      SurfaceFormatToImageFormat(aSurface->GetFormat()));
     }
     ClearCachedFilter();
   }
 
   mTexImage->UpdateFromDataSource(aSurface, aDestRegion, aSrcOffset);