diff options
Diffstat (limited to 'Source/WebKit/qt/WebCoreSupport/TextureMapperLayerClientQt.h')
-rw-r--r-- | Source/WebKit/qt/WebCoreSupport/TextureMapperLayerClientQt.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/WebKit/qt/WebCoreSupport/TextureMapperLayerClientQt.h b/Source/WebKit/qt/WebCoreSupport/TextureMapperLayerClientQt.h index f34a1b2ce..b4e810879 100644 --- a/Source/WebKit/qt/WebCoreSupport/TextureMapperLayerClientQt.h +++ b/Source/WebKit/qt/WebCoreSupport/TextureMapperLayerClientQt.h @@ -21,20 +21,21 @@ #ifndef TextureMapperLayerClientQt_h #define TextureMapperLayerClientQt_h -class QWebFrameAdapter; - #include "GraphicsLayer.h" #include "TextureMapper.h" #include "TextureMapperFPSCounter.h" #include "Timer.h" +class QWebFrameAdapter; +class QWebPageClient; + namespace WebCore { class TextureMapperLayer; class TextureMapperLayerClientQt final : public GraphicsLayerClient { public: - TextureMapperLayerClientQt(QWebFrameAdapter*); + TextureMapperLayerClientQt(QWebFrameAdapter&); ~TextureMapperLayerClientQt(); void syncRootLayer(); TextureMapperLayer* rootLayer(); @@ -46,8 +47,11 @@ public: void syncLayers(); void renderCompositedLayers(GraphicsContext&, const IntRect& clip); + private: - QWebFrameAdapter* m_frame; + QWebPageClient* pageClient() const; + + QWebFrameAdapter& m_frame; std::unique_ptr<GraphicsLayer> m_rootGraphicsLayer; Timer m_syncTimer; WebCore::TextureMapperLayer* m_rootTextureMapperLayer; |