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

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; 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             : 
       7             : #ifndef GFX_WEBRENDERTEXTLAYER_H
       8             : #define GFX_WEBRENDERTEXTLAYER_H
       9             : 
      10             : #include "gfxUtils.h"
      11             : #include "Layers.h"
      12             : #include "mozilla/layers/WebRenderLayer.h"
      13             : #include "mozilla/layers/WebRenderLayerManager.h"
      14             : 
      15             : namespace mozilla {
      16             : namespace layers {
      17             : 
      18             : class WebRenderTextLayer : public WebRenderLayer,
      19             :                            public TextLayer {
      20             : public:
      21           0 :     explicit WebRenderTextLayer(WebRenderLayerManager* aLayerManager)
      22           0 :         : TextLayer(aLayerManager, static_cast<WebRenderLayer*>(this))
      23             :     {
      24           0 :         MOZ_COUNT_CTOR(WebRenderTextLayer);
      25           0 :     }
      26             : 
      27             : protected:
      28           0 :     virtual ~WebRenderTextLayer()
      29           0 :     {
      30           0 :         MOZ_COUNT_DTOR(WebRenderTextLayer);
      31           0 :     }
      32             : 
      33             : public:
      34           0 :   Layer* GetLayer() override { return this; }
      35             :   void RenderLayer(wr::DisplayListBuilder& aBuilder,
      36             :                    const StackingContextHelper& aSc) override;
      37             : 
      38             : };
      39             : 
      40             : } // namespace layers
      41             : } // namespace mozilla
      42             : 
      43             : #endif // GFX_WEBRENDERTEXTLAYER_H

Generated by: LCOV version 1.13