Bug 1332211 - fix build break because of unified build, r?mtseng draft
authorpeter chang <pchang@mozilla.com>
Fri, 03 Feb 2017 13:29:42 +0800
changeset 470271 4ac4f027a70a86f7d1177beb32a6f4652172154e
parent 470270 21e0a1404cc5799d31ab761877b83d6f8aff6660
child 544429 aca7f3addca42633902f08f77b5d57a151b7535f
push id43976
push userbmo:howareyou322@gmail.com
push dateFri, 03 Feb 2017 14:05:30 +0000
reviewersmtseng
bugs1332211
milestone54.0a1
Bug 1332211 - fix build break because of unified build, r?mtseng MozReview-Commit-ID: BbfRKxoAZqe
gfx/layers/basic/BasicTextLayer.cpp
gfx/layers/client/ClientLayerManager.h
--- a/gfx/layers/basic/BasicTextLayer.cpp
+++ b/gfx/layers/basic/BasicTextLayer.cpp
@@ -12,16 +12,17 @@
 #include "gfx2DGlue.h"
 #include "mozilla/mozalloc.h"           // for operator new
 #include "nsCOMPtr.h"                   // for already_AddRefed
 #include "nsDebug.h"                    // for NS_ASSERTION
 #include "nsISupportsImpl.h"            // for Layer::AddRef, etc
 #include "nsRect.h"                     // for mozilla::gfx::IntRect
 #include "nsRegion.h"                   // for nsIntRegion
 #include "mozilla/gfx/PathHelpers.h"
+#include "mozilla/layers/LayersMessages.h" // for GlyphArray
 
 using namespace mozilla::gfx;
 
 namespace mozilla {
 namespace layers {
 
 class BasicTextLayer : public TextLayer, public BasicImplData {
 public:
--- a/gfx/layers/client/ClientLayerManager.h
+++ b/gfx/layers/client/ClientLayerManager.h
@@ -334,17 +334,16 @@ private:
   APZTestData mApzTestData;
 
   RefPtr<ShadowLayerForwarder> mForwarder;
   mozilla::TimeStamp mTransactionStart;
 
   nsTArray<DidCompositeObserver*> mDidCompositeObservers;
 
   RefPtr<MemoryPressureObserver> mMemoryPressureObserver;
-  uint64_t mDeviceCounter;
 };
 
 class ClientLayer : public ShadowableLayer
 {
 public:
   ClientLayer()
   {
     MOZ_COUNT_CTOR(ClientLayer);