summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/image-decoders
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 19:12:07 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 19:12:07 +0000
commit3975e6e094b6557215748d91c89394cb54532c23 (patch)
treef814aac45540e4cc1ff73cbc8ff0b17646c6308b /webkit/port/platform/image-decoders
parentce30da19b5ac11c5681ef44b6cd49ddc39c0743d (diff)
downloadchromium_src-3975e6e094b6557215748d91c89394cb54532c23.zip
chromium_src-3975e6e094b6557215748d91c89394cb54532c23.tar.gz
chromium_src-3975e6e094b6557215748d91c89394cb54532c23.tar.bz2
Some changes necessary to build an optimized binary on Linux.
Two other speedup changes that I'm not including: root_env = Environment( tools = ['component_setup'], + RPATH=[], And linux_env.Tool('target_platform_linux') -linux_env.Tool('target_debug') +linux_env.Tool('target_optimized') Review URL: http://codereview.chromium.org/10292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5193 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform/image-decoders')
-rw-r--r--webkit/port/platform/image-decoders/jpeg/JPEGImageDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/port/platform/image-decoders/jpeg/JPEGImageDecoder.cpp b/webkit/port/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
index ebdbbaf..157b2ad 100644
--- a/webkit/port/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
+++ b/webkit/port/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
@@ -98,7 +98,7 @@ public:
/* Allocate and initialize JPEG decompression object */
jpeg_create_decompress(&m_info);
- decoder_source_mgr* src;
+ decoder_source_mgr* src = NULL;
if (!m_info.src) {
src = (decoder_source_mgr*)fastCalloc(sizeof(decoder_source_mgr), 1);
if (!src) {