X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebCore%2Fplatform%2Fgraphics%2Fwin%2FWKCACFLayerRenderer.h;h=763fffaa9d048ecabef9283805247042c99e2ef7;hp=1d73b9933a1d265fdf7f047302840888b0e7f382;hb=b6052cf0fc23b3fd1fb44849ce79a7f29f0006d5;hpb=9da7be3494ea669260f7b83b22288175c5cfcc92 diff --git a/WebCore/platform/graphics/win/WKCACFLayerRenderer.h b/WebCore/platform/graphics/win/WKCACFLayerRenderer.h index 1d73b9933a1d..763fffaa9d04 100644 --- a/WebCore/platform/graphics/win/WKCACFLayerRenderer.h +++ b/WebCore/platform/graphics/win/WKCACFLayerRenderer.h @@ -41,9 +41,7 @@ #include interface IDirect3DDevice9; -typedef struct _CACFContext* CACFContextRef; -typedef struct _CARenderContext CARenderContext; -typedef struct _CARenderOGLContext CARenderOGLContext; +struct WKCACFContext; namespace WebCore { @@ -64,7 +62,7 @@ public: ~WKCACFLayerRenderer(); static bool acceleratedCompositingAvailable(); - static void didFlushContext(CACFContextRef); + static void didFlushContext(WKCACFContext*); void setRootContents(CGImageRef); void setRootContentsAndDisplay(CGImageRef); @@ -104,9 +102,7 @@ private: COMPtr m_d3dDevice; RefPtr m_rootLayer; RefPtr m_rootChildLayer; - RetainPtr m_context; - CARenderContext* m_renderContext; - CARenderOGLContext* m_renderer; + WKCACFContext* m_context; HWND m_hostWindow; Timer m_renderTimer; bool m_backingStoreDirty;