Bug 1251808 (Followup) - Mark the new SourceSurfaceImage constructor explicit. r=me
authorSeth Fowler <mark.seth.fowler@gmail.com>
Fri, 26 Feb 2016 21:25:08 -0800
changeset 322258 debf6c7316b7a0514dbf2c85bb7df4b4a40d5972
parent 322257 39a1e216208199904ef3a562eb5d643efc08223d
child 322259 cc6dd36ae9082f827e583dbd0543d88b610f954f
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1251808
milestone47.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 1251808 (Followup) - Mark the new SourceSurfaceImage constructor explicit. r=me
gfx/layers/ImageContainer.h
--- a/gfx/layers/ImageContainer.h
+++ b/gfx/layers/ImageContainer.h
@@ -819,17 +819,17 @@ public:
     return surface.forget();
   }
 
   virtual TextureClient* GetTextureClient(CompositableClient* aClient) override;
 
   virtual gfx::IntSize GetSize() override { return mSize; }
 
   SourceSurfaceImage(const gfx::IntSize& aSize, gfx::SourceSurface* aSourceSurface);
-  SourceSurfaceImage(gfx::SourceSurface* aSourceSurface);
+  explicit SourceSurfaceImage(gfx::SourceSurface* aSourceSurface);
   ~SourceSurfaceImage();
 
 private:
   gfx::IntSize mSize;
   nsCountedRef<nsOwningThreadSourceSurfaceRef> mSourceSurface;
   nsDataHashtable<nsUint32HashKey, RefPtr<TextureClient> >  mTextureClients;
 };