| Index: site/dev/contrib/style.md
|
| diff --git a/site/dev/contrib/style.md b/site/dev/contrib/style.md
|
| index 177a58b8d4e67c02ef3199cf98ecd8902c1c30f5..ec556d9b6701ebafc8e392d8e62917b965d55261 100644
|
| --- a/site/dev/contrib/style.md
|
| +++ b/site/dev/contrib/style.md
|
| @@ -385,23 +385,6 @@ Method calls within method calls should be prefixed with dereference of the
|
| <!--?prettify?-->
|
| ~~~~
|
| this->method();
|
| -Memory Management
|
| -~~~~
|
| -
|
| -All memory allocation should be routed through SkNEW and its variants. These are
|
| -#defined in SkPostConfig.h, but the correct way to get access to the config
|
| -system is to #include SkTypes.h, which will allow external users of the library
|
| -to provide a custom memory manager or other adaptations.
|
| -
|
| -<!--?prettify?-->
|
| -~~~~
|
| -SkNEW(type_name)
|
| -SkNEW_ARGS(type_name, args)
|
| -SkNEW_ARRAY(type_name, count)
|
| -SkNEW_PLACEMENT(buf, type_name)
|
| -SkNEW_PLACEMENT_ARGS(buf, type_name, args)
|
| -SkDELETE(obj)
|
| -SkDELETE_ARRAY(array)
|
| ~~~~
|
|
|
| Comparisons
|
|
|