Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: skia/include/corecg/SkTypes.h

Issue 100179: Merge 14891 - A better fix for http://www.crbug.com/2044: crash... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/172/src/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/corecg/SkMemory_stdlib.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/include/corecg/SkTypes.h
===================================================================
--- skia/include/corecg/SkTypes.h (revision 14820)
+++ skia/include/corecg/SkTypes.h (working copy)
@@ -65,6 +65,11 @@
*/
extern void sk_free(void*);
+/** Returns whether sk_malloc() will currently throw. Only false during
+ a call to sk_malloc_flags() with SK_MALLOC_THROW not set. This is
+ useful to mallocs that would otherwise abort on NULL themselves.
+ false indicates that skia will safely handle NULL checking. **/
+extern bool sk_malloc_will_throw();
///////////////////////////////////////////////////////////////////////
#define SK_INIT_TO_AVOID_WARNING = 0
Property changes on: skia\include\corecg\SkTypes.h
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/skia/include/corecg/SkTypes.h:r69-2775
Merged /trunk/src/skia/include/corecg/SkTypes.h:r14891
« no previous file with comments | « skia/corecg/SkMemory_stdlib.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698