Bug 1296658 - Followup: Mark constructor explicit. r=bustage
authorBas Schouten <bschouten@mozilla.com>
Thu, 15 Sep 2016 14:19:32 +0200
changeset 357578 1032461dcb88a75cae0529378733a08d8ceaebf1
parent 357577 b071166a07bc058e9cbaa12cd8ebf48c12a75d0f
child 357579 c28b406521d8d41dcad1ac5615dd140a7a69a3a6
push id1324
push usermtabara@mozilla.com
push dateMon, 16 Jan 2017 13:07:44 +0000
treeherdermozilla-release@a01c49833940 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1296658
milestone51.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 1296658 - Followup: Mark constructor explicit. r=bustage MozReview-Commit-ID: 3palsAL4sV9
gfx/layers/client/ContentClient.h
--- a/gfx/layers/client/ContentClient.h
+++ b/gfx/layers/client/ContentClient.h
@@ -121,17 +121,17 @@ public:
                        bool aDidSelfCopy) = 0;
 };
 
 // thin wrapper around RotatedContentBuffer, for on-mtc
 class ContentClientBasic final : public ContentClient
                                , protected RotatedContentBuffer
 {
 public:
-  ContentClientBasic(gfx::BackendType aBackend);
+  explicit ContentClientBasic(gfx::BackendType aBackend);
 
   typedef RotatedContentBuffer::PaintState PaintState;
   typedef RotatedContentBuffer::ContentType ContentType;
 
   virtual void Clear() override { RotatedContentBuffer::Clear(); }
   virtual PaintState BeginPaintBuffer(PaintedLayer* aLayer,
                                       uint32_t aFlags) override
   {