summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-31 20:01:12 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-31 20:01:12 +0000
commit946b435ee20fc73e9cf965c37a886636de9f2364 (patch)
treed8e8687e1753138c0786762f6ffc261a992ac58a /webkit/port/platform
parentbb47a94f2a1e5c9bc7d5e0e40cc64e8b791134a3 (diff)
downloadchromium_src-946b435ee20fc73e9cf965c37a886636de9f2364.zip
chromium_src-946b435ee20fc73e9cf965c37a886636de9f2364.tar.gz
chromium_src-946b435ee20fc73e9cf965c37a886636de9f2364.tar.bz2
Set the size properly in our ImageBuffer. This makes various operations fail since it looks like the size is 0x0
Review URL: http://codereview.chromium.org/8774 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform')
-rw-r--r--webkit/port/platform/graphics/ImageBufferSkia.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/port/platform/graphics/ImageBufferSkia.cpp b/webkit/port/platform/graphics/ImageBufferSkia.cpp
index e0f97b4..b9c54e6 100644
--- a/webkit/port/platform/graphics/ImageBufferSkia.cpp
+++ b/webkit/port/platform/graphics/ImageBufferSkia.cpp
@@ -50,6 +50,7 @@ ImageBufferData::ImageBufferData(const IntSize& size)
ImageBuffer::ImageBuffer(const IntSize& size, bool grayScale, bool& success)
: m_data(size)
+ , m_size(size)
{
m_context.set(new GraphicsContext(&m_data.m_platformContext));