X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebCore%2Fplatform%2Fgraphics%2Fwin%2FWKCACFLayer.cpp;h=a8714e37fe4a51f1af13d5cfc83d59a5f4b42cdc;hp=bf479250c780cc2d2b8270ebdf8b7ec3cd594be6;hb=b6052cf0fc23b3fd1fb44849ce79a7f29f0006d5;hpb=9da7be3494ea669260f7b83b22288175c5cfcc92 diff --git a/WebCore/platform/graphics/win/WKCACFLayer.cpp b/WebCore/platform/graphics/win/WKCACFLayer.cpp index bf479250c780..a8714e37fe4a 100644 --- a/WebCore/platform/graphics/win/WKCACFLayer.cpp +++ b/WebCore/platform/graphics/win/WKCACFLayer.cpp @@ -30,15 +30,10 @@ #include "WKCACFLayer.h" #include "WKCACFLayerRenderer.h" -#include - +#include #include -#include -#include - -#ifndef NDEBUG #include -#endif +#include namespace WebCore { @@ -190,9 +185,9 @@ WKCACFLayer::~WKCACFLayer() CACFLayerSetDisplayCallback(layer(), 0); } -void WKCACFLayer::becomeRootLayerForContext(CACFContextRef context) +void WKCACFLayer::becomeRootLayerForContext(WKCACFContext* context) { - CACFContextSetLayer(context, layer()); + wkCACFContextSetLayer(context, layer()); setNeedsCommit(); }