Index: Source/WebCore/platform/graphics/gpu/DrawingBuffer.h |
=================================================================== |
--- Source/WebCore/platform/graphics/gpu/DrawingBuffer.h (revision 93254) |
+++ Source/WebCore/platform/graphics/gpu/DrawingBuffer.h (working copy) |
@@ -90,19 +90,6 @@ |
void publishToPlatformLayer(); |
#endif |
-#if PLATFORM(CHROMIUM) |
- class WillPublishCallback { |
- WTF_MAKE_NONCOPYABLE(WillPublishCallback); |
- public: |
- WillPublishCallback() { } |
- virtual ~WillPublishCallback() { } |
- |
- virtual void willPublish() = 0; |
- }; |
- |
- void setWillPublishCallback(PassOwnPtr<WillPublishCallback> callback) { m_callback = callback; } |
-#endif |
- |
#if USE(SKIA) |
void setGrContext(GrContext* ctx); |
void getGrPlatformSurfaceDesc(GrPlatformSurfaceDesc*); |
@@ -115,9 +102,6 @@ |
DrawingBuffer(GraphicsContext3D*, const IntSize&, bool multisampleExtensionSupported, bool packedDepthStencilExtensionSupported); |
- // Platform specific function called after reset() so each platform can do extra work if needed |
- void didReset(); |
- |
RefPtr<GraphicsContext3D> m_context; |
IntSize m_size; |
bool m_multisampleExtensionSupported; |
@@ -137,7 +121,6 @@ |
Platform3DObject m_multisampleColorBuffer; |
#if PLATFORM(CHROMIUM) |
- OwnPtr<WillPublishCallback> m_callback; |
#if USE(ACCELERATED_COMPOSITING) |
RefPtr<Canvas2DLayerChromium> m_platformLayer; |
#endif |