| Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
|
| index ce342c2d54454a420d54f67be10c0297d3bdd255..913102f321d22951f602ebea1ff9dcd5b6da92d3 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
|
| @@ -265,6 +265,13 @@ protected: // For unittests
|
|
|
| bool initialize(const IntSize&, bool useMultisampling);
|
|
|
| + // Shared memory bitmaps that were released by the compositor and can be used again by this DrawingBuffer.
|
| + struct RecycledBitmap {
|
| + std::unique_ptr<cc::SharedBitmap> bitmap;
|
| + IntSize size;
|
| + };
|
| + Vector<RecycledBitmap> m_recycledBitmaps;
|
| +
|
| private:
|
| // All parameters necessary to generate the texture that will be passed to
|
| // prepareMailbox.
|
| @@ -486,12 +493,6 @@ private:
|
| };
|
| // Mailboxes that were released by the compositor can be used again by this DrawingBuffer.
|
| Deque<RefPtr<RecycledMailbox>> m_recycledMailboxQueue;
|
| - struct RecycledBitmap {
|
| - std::unique_ptr<cc::SharedBitmap> bitmap;
|
| - IntSize size;
|
| - };
|
| - // Shared memory bitmaps that were released by the compositor and can be used again by this DrawingBuffer.
|
| - Vector<RecycledBitmap> m_recycledBitmap;
|
|
|
| // If the width and height of the Canvas's backing store don't
|
| // match those that we were given in the most recent call to
|
|
|