Update code style guidelines to mention braced initialization style.
https://bugs.webkit.org/show_bug.cgi?id=185053

Reviewed by Ryosuke Niwa.

* code-style.md:
Add a clause to the Spacing section about braced initialization.
(Also, fix an erroneous element ID on a neighboring line.)


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@231085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Websites/webkit.org/ChangeLog b/Websites/webkit.org/ChangeLog
index 34bf887..41d862d 100644
--- a/Websites/webkit.org/ChangeLog
+++ b/Websites/webkit.org/ChangeLog
@@ -1,3 +1,14 @@
+2018-04-26  Ross Kirsling  <ross.kirsling@sony.com>
+
+        Update code style guidelines to mention braced initialization style.
+        https://bugs.webkit.org/show_bug.cgi?id=185053
+
+        Reviewed by Ryosuke Niwa.
+
+        * code-style.md:
+        Add a clause to the Spacing section about braced initialization.
+        (Also, fix an erroneous element ID on a neighboring line.)
+
 2018-04-04  Andy Estes  <aestes@apple.com>
 
         Unreviewed. Correct the path to merchant-validation-config.php.
diff --git a/Websites/webkit.org/code-style.md b/Websites/webkit.org/code-style.md
index 70b7c11..7594067 100644
--- a/Websites/webkit.org/code-style.md
+++ b/Websites/webkit.org/code-style.md
@@ -234,7 +234,22 @@
 f( a, b );
 ```
 
-[](#spacing-function-paren) In Objective-C, do not place spaces between the start of a block and its arguments, or the start of a block and its opening brace. **Do** place a space between argument lists and the opening brace of the block.
+[](#spacing-braced-init) When initializing an object, place a space before the leading brace as well as between the braces and their content.
+
+###### Right:
+
+```cpp
+Foo foo { bar };
+```
+
+###### Wrong:
+
+```cpp
+Foo foo{ bar };
+Foo foo {bar};
+```
+
+[](#spacing-objc-block) In Objective-C, do not place spaces between the start of a block and its arguments, or the start of a block and its opening brace. **Do** place a space between argument lists and the opening brace of the block.
 
 ###### Right: