[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Wed Apr 7 23:41:01 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit e180f06a4ea2f73cd9b0ac340ce05e580c963812
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Nov 14 00:25:35 2009 +0000

    2009-11-13  Chris Jerdonek  <chris.jerdonek at gmail.com>
    
            Reviewed by Darin Adler.
    
            Added to the WebKit Coding Style Guidelines not to use
            "using namespace" statements in header files.
    
            * coding/coding-style.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50978 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitSite/ChangeLog b/WebKitSite/ChangeLog
index 3083f99..48726ef 100644
--- a/WebKitSite/ChangeLog
+++ b/WebKitSite/ChangeLog
@@ -1,3 +1,12 @@
+2009-11-13  Chris Jerdonek  <chris.jerdonek at gmail.com>
+
+        Reviewed by Darin Adler.
+
+        Added to the WebKit Coding Style Guidelines not to use 
+        "using namespace" statements in header files.
+
+        * coding/coding-style.html:
+
 2009-11-10  Oliver Hunt  <oliver at apple.com>
 
         Reviewed by Maciej Stachowiak.
diff --git a/WebKitSite/coding/coding-style.html b/WebKitSite/coding/coding-style.html
index 09e2f3c..4ec9883 100644
--- a/WebKitSite/coding/coding-style.html
+++ b/WebKitSite/coding/coding-style.html
@@ -705,6 +705,9 @@ Don't bother to organize them in a logical order.
 
 <ol>
 
+<li>Do not use "using namespace" statements in header files.
+</li>
+
 <li>Any "using namespace" statements for a nested namespace whose parent namespace 
 is also defined in a file must be declared within that namespace definition.
 
@@ -729,6 +732,7 @@ namespace WebCore {
 
 } // namespace WebCore
 </pre>
+</li>
 
 <li>Any other "using namespace" statements must be declared before the first namespace 
 definition in the file.
@@ -753,6 +757,8 @@ using namespace std;
 
 } // namespace WebCore
 </pre>
+</li>
+
 </ol>
 
 <?php

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list