skia2/gyp
scroggo@google.com dbf9f884c3 Avoid getLength in ico decoder.
Only call getLength() if hasLength() returned true. Otherwise, copy the
stream into an SkDynamicMemoryWStream and copy it into alloc'ed space.

Share common code between bmp and ico.

BUG=https://b.corp.google.com/issue?id=8432093
R=djsollen@google.com

Review URL: https://codereview.chromium.org/23330002

git-svn-id: http://skia.googlecode.com/svn/trunk@10850 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-21 15:01:48 +00:00
..
android_deps.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
android_system.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
angle.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
animator.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
apptype_console.gypi Update Skia Android tools. 2013-08-12 12:30:04 +00:00
bench.gyp refactor duplication (shouldSkip and skip_name) into a utility function 2013-07-24 17:24:23 +00:00
bench.gypi This bench attempts to recreate Chromium's Canvas_putImageData performance test to track down https://code.google.com/p/chromium/issues/detail?id=270649. 2013-08-16 00:40:34 +00:00
chromeos_deps.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
cityhash.gyp Re-land r9059 with empty cityhash.gyp, instead of deleted cityhash.gyp 2013-05-08 16:04:02 +00:00
common_conditions.gypi Replace uses of GR_API by SK_API. 2013-08-20 12:23:06 +00:00
common_variables.gypi update gyp for ARM builds to be more well defined. 2013-07-31 12:57:27 +00:00
common.gypi Use a single cros_toolchain tarball for ChromeOS build 2013-06-24 19:31:58 +00:00
core.gyp Enable SkUtilsArm on all ARM platforms and always use NDK compliant NEON detection on Android. 2013-08-05 13:38:28 +00:00
core.gypi Chromium staging for SkDevice refactoring 2013-08-21 13:54:44 +00:00
debugger.gyp Build fix after r9598. 2013-06-13 21:25:45 +00:00
effects.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
effects.gypi Upstreaming DropShadowImageFilter into skia, from Blink 2013-08-07 20:00:55 +00:00
everything.gyp Gyp changes for NaCl debugger 2013-03-07 15:33:28 +00:00
experimental.gyp SkiaExamples improvements. 2013-07-24 17:48:03 +00:00
FileReaderApp.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
flags.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
fontconfig.gyp Sanitizing source files in Housekeeper-Nightly 2013-08-21 07:01:29 +00:00
freetype.gyp Add libpoppler for PDF rendering, take 2 2013-08-20 18:57:01 +00:00
freetype.gypi Sanitizing source files in Housekeeper-Nightly 2013-08-21 07:01:29 +00:00
gm.gyp Add libpoppler for PDF rendering, take 2 2013-08-20 18:57:01 +00:00
gmslides.gypi Fix for nested rect drawing bug 2013-08-20 12:11:31 +00:00
gpu.gyp Replace uses of GR_API by SK_API. 2013-08-20 12:23:06 +00:00
gpu.gypi Add blend optimization helpers and use to convert rect draws to clears. 2013-08-14 21:56:37 +00:00
iconv.gyp Sanitizing source files in Housekeeper-Nightly 2013-08-21 07:01:29 +00:00
images.gyp Avoid getLength in ico decoder. 2013-08-21 15:01:48 +00:00
jsoncpp.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
libjpeg.gyp Sanitizing source files in Housekeeper-Nightly 2013-06-11 07:01:17 +00:00
libwebp.gyp update gyp for ARM builds to be more well defined. 2013-07-31 12:57:27 +00:00
lua.gyp use define to work-around localeconf() missingness in android 2013-05-15 20:55:49 +00:00
most.gyp Update Skia Android tools. 2013-08-12 12:30:04 +00:00
nacl.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
opts.gyp Tweak -mssse3 on Mac a little. 2013-08-06 18:13:01 +00:00
pathops_unittest.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
pathops_unittest.gypi path ops -- fix skp bugs 2013-05-07 18:51:31 +00:00
pathops.gypi remove deleted file from gyp 2013-04-22 20:09:23 +00:00
pdf.gyp In preparation for make Chromium's skia.gyp use pdf.gypi. 2013-08-04 15:09:23 +00:00
pdf.gypi In preparation for make Chromium's skia.gyp use pdf.gypi. 2013-08-04 15:09:23 +00:00
pdfviewer_lib.gyp pdfviewer: check in pdfapi classes 2013-08-20 18:56:49 +00:00
pdfviewer.gyp pdfviewer: (cleanup) put the gyp for library code in a separate file 2013-08-16 16:13:44 +00:00
pixman_test.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
poppler.gyp Sanitizing source files in Housekeeper-Nightly 2013-08-21 07:01:29 +00:00
ports.gyp Revert r10788 (allow both GDI and DW fontmgrs at the same time) due to Chromium XP bot failures 2013-08-20 14:36:59 +00:00
public_headers.gypi fix malformed gypi file that was missing commas 2013-08-12 14:57:54 +00:00
SampleApp.gyp pdfviewer: fix typo in sample app 2013-08-16 17:01:24 +00:00
sfnt.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
shapeops_demo.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
shapeops_edge.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
shapeops_tool.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
SimpleCocoaApp.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
SimpleiOSApp.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
skia_lib.gyp refactor gyp to isolate freetype usage 2013-07-22 14:12:56 +00:00
svg.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
tests.gyp Fix crash when querying a runtime config that is defined in environment 2013-08-14 18:14:37 +00:00
tools.gyp Add lua_pictures target to tools.gyp 2013-07-25 14:55:18 +00:00
utils.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
views_animated.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
views.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
xml.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
xps.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
zlib.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00