Bug 1385368 - Pass aTextIDs as a const reference; r=mystor
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 28 Jul 2017 13:29:40 -0400
changeset 420565 b5cbc88dede0b871548513e0d2d10b4c9d05178f
parent 420564 07320f178c144b1a4be67400e2168e04677edec0
child 420566 4d0a260acd3f4d76307b49a199994ff37242daf6
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmystor
bugs1385368
milestone56.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
Bug 1385368 - Pass aTextIDs as a const reference; r=mystor
gfx/layers/LayerScope.cpp
--- a/gfx/layers/LayerScope.cpp
+++ b/gfx/layers/LayerScope.cpp
@@ -623,17 +623,17 @@ protected:
 class DebugGLDrawData final: public DebugGLData {
 public:
     DebugGLDrawData(float aOffsetX,
                     float aOffsetY,
                     const gfx::Matrix4x4& aMVMatrix,
                     size_t aRects,
                     const gfx::Rect* aLayerRects,
                     const gfx::Rect* aTextureRects,
-                    const std::list<GLuint> aTexIDs,
+                    const std::list<GLuint>& aTexIDs,
                     void* aLayerRef)
         : DebugGLData(Packet::DRAW),
           mOffsetX(aOffsetX),
           mOffsetY(aOffsetY),
           mMVMatrix(aMVMatrix),
           mRects(aRects),
           mTexIDs(aTexIDs),
           mLayerRef(reinterpret_cast<uint64_t>(aLayerRef))