aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar kkinnunen <kkinnunen@nvidia.com>2015-03-23 06:27:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-23 06:27:23 -0700
commitdc3d96890f335e10f93ab5e1713d87554ed1c446 (patch)
tree47130756c757faf5e987d2a06db562c925952c93 /site
parent3e5c2b1041b15641931638d1d78b30d3c435fc71 (diff)
Fix two typos in coding style
Fix two typos in coding style: - Memory Managemt - if (NULL == x) equated to if (x) NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1032463002 Review URL: https://codereview.chromium.org/1032463002
Diffstat (limited to 'site')
-rw-r--r--site/dev/contrib/style.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/dev/contrib/style.md b/site/dev/contrib/style.md
index 455eed6b38..ac31f4ad56 100644
--- a/site/dev/contrib/style.md
+++ b/site/dev/contrib/style.md
@@ -376,7 +376,7 @@ Method calls within method calls should be prefixed with dereference of the
<!--?prettify?-->
~~~~
this->method();
-Memory Managemt
+Memory Management
~~~~
All memory allocation should be routed through SkNEW and its variants. These are
@@ -456,7 +456,7 @@ checking for NULL pointers (as documentation):
<!--?prettify?-->
~~~~
-if (NULL == x) { // slightly preferred over if (x)
+if (NULL == x) { // slightly preferred over if (!x)
...
}
~~~~