| Index: Source/core/platform/graphics/win/TransparencyWin.cpp
|
| diff --git a/Source/core/platform/graphics/win/TransparencyWin.cpp b/Source/core/platform/graphics/win/TransparencyWin.cpp
|
| index 88ff45506fb6a7b021910a01582c0c5b05e583b4..0ae27276313bef1abb7ffec6df60009418d1ea62 100644
|
| --- a/Source/core/platform/graphics/win/TransparencyWin.cpp
|
| +++ b/Source/core/platform/graphics/win/TransparencyWin.cpp
|
| @@ -101,7 +101,7 @@ class TransparencyWin::OwnedBuffers {
|
| public:
|
| OwnedBuffers(const IntSize& size, bool needReferenceBuffer)
|
| {
|
| - m_destBitmap = ImageBuffer::create(size, 1);
|
| + m_destBitmap = ImageBuffer::create(size);
|
|
|
| if (needReferenceBuffer) {
|
| m_referenceBitmap.setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height());
|
| @@ -119,7 +119,7 @@ public:
|
| // Returns whether the current layer will fix a buffer of the given size.
|
| bool canHandleSize(const IntSize& size) const
|
| {
|
| - return m_destBitmap->internalSize().width() >= size.width() && m_destBitmap->internalSize().height() >= size.height();
|
| + return m_destBitmap->size().width() >= size.width() && m_destBitmap->size().height() >= size.height();
|
| }
|
|
|
| private:
|
|
|