LCOV - code coverage report
Current view: top level - gfx/layers/client - ClientReadbackLayer.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 8 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 6 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
       2             :  * This Source Code Form is subject to the terms of the Mozilla Public
       3             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       4             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       5             : 
       6             : #ifndef GFX_CLIENTREADBACKLAYER_H
       7             : #define GFX_CLIENTREADBACKLAYER_H
       8             : 
       9             : #include "ClientLayerManager.h"
      10             : #include "ReadbackLayer.h"
      11             : 
      12             : namespace mozilla {
      13             : namespace layers {
      14             : 
      15           0 : class ClientReadbackLayer :
      16             :   public ReadbackLayer,
      17             :   public ClientLayer
      18             : {
      19             : public:
      20           0 :   explicit ClientReadbackLayer(ClientLayerManager *aManager)
      21           0 :     : ReadbackLayer(aManager, nullptr)
      22             :   {
      23           0 :       mImplData = static_cast<ClientLayer*>(this);
      24           0 :   }
      25             : 
      26           0 :   virtual ShadowableLayer* AsShadowableLayer() override { return this; }
      27           0 :   virtual Layer* AsLayer() override { return this; }
      28           0 :   virtual void RenderLayer() override {}
      29             : };
      30             : 
      31             : } // namespace layers
      32             : } // namespace mozilla
      33             : 
      34             : #endif /* GFX_CLIENTREADBACKLAYER_H */

Generated by: LCOV version 1.13