summaryrefslogtreecommitdiffstats
path: root/gfx/layers/opengl/CompositingRenderTargetOGL.cpp
diff options
context:
space:
mode:
authorNicolas Silva <nsilva@mozilla.com>2018-03-12 13:36:00 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-04-19 11:24:32 +0200
commitba71cc45fef6dfaecef8f5edf65ce1f1ff457624 (patch)
tree6b5b6e894b30202aeaf6ab9369802528ca180483 /gfx/layers/opengl/CompositingRenderTargetOGL.cpp
parente0013ce52296653ec8cef594e568c9981e5d4a63 (diff)
downloadUXP-ba71cc45fef6dfaecef8f5edf65ce1f1ff457624.tar
UXP-ba71cc45fef6dfaecef8f5edf65ce1f1ff457624.tar.gz
UXP-ba71cc45fef6dfaecef8f5edf65ce1f1ff457624.tar.lz
UXP-ba71cc45fef6dfaecef8f5edf65ce1f1ff457624.tar.xz
UXP-ba71cc45fef6dfaecef8f5edf65ce1f1ff457624.zip
Bug 1440717 - Use RefPtr for CompositingRenderTargetOGL::mGL. r=Bas, a=ritu
--HG-- extra : source : b6d2d55223d2aa5cb85bbdf33075d1d38f2a9a30 extra : intermediate-source : 0ec90964e0bc479412a4da8a61d48b665211736e
Diffstat (limited to 'gfx/layers/opengl/CompositingRenderTargetOGL.cpp')
-rw-r--r--gfx/layers/opengl/CompositingRenderTargetOGL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/layers/opengl/CompositingRenderTargetOGL.cpp b/gfx/layers/opengl/CompositingRenderTargetOGL.cpp
index c05b8edfd..a1521c56d 100644
--- a/gfx/layers/opengl/CompositingRenderTargetOGL.cpp
+++ b/gfx/layers/opengl/CompositingRenderTargetOGL.cpp
@@ -60,7 +60,7 @@ CompositingRenderTargetOGL::BindRenderTarget()
msg.AppendPrintf("Framebuffer not complete -- CheckFramebufferStatus returned 0x%x, "
"GLContext=%p, IsOffscreen()=%d, mFBO=%d, aFBOTextureTarget=0x%x, "
"aRect.width=%d, aRect.height=%d",
- result, mGL, mGL->IsOffscreen(), mFBO, mInitParams.mFBOTextureTarget,
+ result, mGL.get(), mGL->IsOffscreen(), mFBO, mInitParams.mFBOTextureTarget,
mInitParams.mSize.width, mInitParams.mSize.height);
NS_WARNING(msg.get());
}