Bug 1387046 - Add missing field to operator== in CompositorOptions. r=dvander a=gchang
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 03 Aug 2017 09:33:42 -0400
changeset 423441 ef3ed480fc3f157132d60d6d74b49ef08c10f0b6
parent 423440 1058d41cdddf4897fc99e8abce316a51582e894b
child 423442 b5eecee891c924f397df2a71117def2deef00600
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdvander, gchang
bugs1387046
milestone56.0
Bug 1387046 - Add missing field to operator== in CompositorOptions. r=dvander a=gchang MozReview-Commit-ID: 8sZgFKQsnun
gfx/ipc/CompositorOptions.h
--- a/gfx/ipc/CompositorOptions.h
+++ b/gfx/ipc/CompositorOptions.h
@@ -49,17 +49,18 @@ public:
   bool UseAdvancedLayers() const { return mUseAdvancedLayers; }
 
   void SetUseAdvancedLayers(bool aUseAdvancedLayers) {
     mUseAdvancedLayers = aUseAdvancedLayers;
   }
 
   bool operator==(const CompositorOptions& aOther) const {
     return mUseAPZ == aOther.mUseAPZ &&
-           mUseWebRender == aOther.mUseWebRender;
+           mUseWebRender == aOther.mUseWebRender &&
+           mUseAdvancedLayers == aOther.mUseAdvancedLayers;
   }
 
   friend struct IPC::ParamTraits<CompositorOptions>;
 
 private:
   bool mUseAPZ;
   bool mUseWebRender;
   bool mUseAdvancedLayers;