Bug 1000170 - Make ClientTiledThebesLayer report itself as such in layer dumps. r=BenWa
☠☠ backed out by 7eb76208626e ☠ ☠
authorBrian Hackett <bhackett1024@gmail.com>
Wed, 23 Apr 2014 14:12:31 -0700
changeset 198304 bca2faf314bf682c79916e1e1a3a0fca70c482fb
parent 198303 208bcb7879c00c6143b190a63ecaff5d6ed12b81
child 198305 e4e33370b648a1fdd6d868929d0b217b0b6d5154
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersBenWa
bugs1000170
milestone31.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 1000170 - Make ClientTiledThebesLayer report itself as such in layer dumps. r=BenWa
gfx/layers/client/ClientTiledThebesLayer.h
--- a/gfx/layers/client/ClientTiledThebesLayer.h
+++ b/gfx/layers/client/ClientTiledThebesLayer.h
@@ -39,16 +39,19 @@ class ClientTiledThebesLayer : public Th
                                public ClientLayer
 {
   typedef ThebesLayer Base;
 
 public:
   ClientTiledThebesLayer(ClientLayerManager* const aManager);
   ~ClientTiledThebesLayer();
 
+  // Override name to distinguish it from ClientThebesLayer in layer dumps
+  virtual const char* Name() const { return "TiledThebesLayer"; }
+
   // Thebes Layer
   virtual Layer* AsLayer() { return this; }
   virtual void InvalidateRegion(const nsIntRegion& aRegion) {
     mInvalidRegion.Or(mInvalidRegion, aRegion);
     mValidRegion.Sub(mValidRegion, aRegion);
     mLowPrecisionValidRegion.Sub(mLowPrecisionValidRegion, aRegion);
   }