author | Oleg Romashin <romaxa@gmail.com> |
Tue, 21 Dec 2010 20:46:31 +0200 | |
changeset 59560 | 722ffb1a0920773fc92adac27244e13f3c5a1c95 |
parent 59559 | ab173acf8a1f751ba485980e032d4fe18be4b05d |
child 59561 | 9b02aa0de19c2e6f9b39caf9bfce1f331d00f23b |
push id | 17664 |
push user | romaxa@gmail.com |
push date | Tue, 21 Dec 2010 18:45:33 +0000 |
treeherder | mozilla-central@722ffb1a0920 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | vladimir, approval2.0 |
bugs | 618788 |
milestone | 2.0b9pre |
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
|
--- a/gfx/layers/opengl/ImageLayerOGL.cpp +++ b/gfx/layers/opengl/ImageLayerOGL.cpp @@ -655,17 +655,17 @@ PlanarYCbCrImageOGL::UpdateTextures(GLCo LOCAL_GL_UNSIGNED_BYTE, mData.mCrChannel); // Reset alignment to default gl->fPixelStorei(LOCAL_GL_UNPACK_ALIGNMENT, 4); } CairoImageOGL::CairoImageOGL(LayerManagerOGL *aManager) - : CairoImage(nsnull) + : CairoImage(nsnull), mSize(0, 0) { NS_ASSERTION(NS_IsMainThread(), "Should be on main thread to create a cairo image"); if (aManager) { // Allocate texture now to grab a reference to the GLContext mTexture.Allocate(aManager->glForResources()); } }