Index: core/fxge/win32/fx_win32_device.cpp |
diff --git a/core/fxge/win32/fx_win32_device.cpp b/core/fxge/win32/fx_win32_device.cpp |
index 0b08bba8df679b2112e0593e98e114cae341e964..25ac1424de3157245fff807543de2722cd4ede35 100644 |
--- a/core/fxge/win32/fx_win32_device.cpp |
+++ b/core/fxge/win32/fx_win32_device.cpp |
@@ -1253,7 +1253,7 @@ FX_BOOL CGdiDisplayDriver::SetDIBits(const CFX_DIBSource* pSource, |
return SetDIBits(&bitmap, 0, &src_rect, left, top, FXDIB_BLEND_NORMAL); |
} |
CFX_DIBExtractor temp(pSource); |
- CFX_DIBitmap* pBitmap = temp; |
+ CFX_DIBitmap* pBitmap = temp.GetBitmap(); |
if (!pBitmap) |
return FALSE; |
return GDI_SetDIBits(pBitmap, pSrcRect, left, top); |
@@ -1335,7 +1335,7 @@ FX_BOOL CGdiDisplayDriver::StretchDIBits(const CFX_DIBSource* pSource, |
(CWin32Platform*)CFX_GEModule::Get()->GetPlatformData(); |
if (pPlatform->m_GdiplusExt.IsAvailable() && !pSource->IsCmykImage()) { |
CFX_DIBExtractor temp(pSource); |
- CFX_DIBitmap* pBitmap = temp; |
+ CFX_DIBitmap* pBitmap = temp.GetBitmap(); |
if (!pBitmap) |
return FALSE; |
return pPlatform->m_GdiplusExt.StretchDIBits( |
@@ -1346,7 +1346,7 @@ FX_BOOL CGdiDisplayDriver::StretchDIBits(const CFX_DIBSource* pSource, |
dest_width, dest_height, pClipRect, flags); |
} |
CFX_DIBExtractor temp(pSource); |
- CFX_DIBitmap* pBitmap = temp; |
+ CFX_DIBitmap* pBitmap = temp.GetBitmap(); |
if (!pBitmap) |
return FALSE; |
return GDI_StretchDIBits(pBitmap, dest_left, dest_top, dest_width, |