diff options
Diffstat (limited to 'Source/WebKit2/WebProcess/WebPage/LayerTreeHost.h')
| -rw-r--r-- | Source/WebKit2/WebProcess/WebPage/LayerTreeHost.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/WebKit2/WebProcess/WebPage/LayerTreeHost.h b/Source/WebKit2/WebProcess/WebPage/LayerTreeHost.h index b49cc90bd..368230cc9 100644 --- a/Source/WebKit2/WebProcess/WebPage/LayerTreeHost.h +++ b/Source/WebKit2/WebProcess/WebPage/LayerTreeHost.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Apple Inc. All rights reserved. + * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -41,6 +41,10 @@ class FloatPoint; class IntRect; class IntSize; class GraphicsLayer; + +#if PLATFORM(WIN) && USE(AVFOUNDATION) +struct GraphicsDeviceAdapter; +#endif } namespace WebKit { @@ -97,6 +101,10 @@ public: virtual void setLayerHostingMode(LayerHostingMode) { } #endif +#if PLATFORM(WIN) && USE(AVFOUNDATION) + virtual WebCore::GraphicsDeviceAdapter* graphicsDeviceAdapter() const { return 0; } +#endif + protected: explicit LayerTreeHost(WebPage*); |
