Title: [144411] trunk/Source/WebKit2
Revision
144411
Author
[email protected]
Date
2013-02-28 20:39:52 -0800 (Thu, 28 Feb 2013)

Log Message

[WK2] Refactoring : Fix indentation and braces in WebInspectorClient.h|cpp
https://bugs.webkit.org/show_bug.cgi?id=109925

Patch by Seokju Kwon <[email protected]> on 2013-02-28
Reviewed by Benjamin Poulain.

The contents of an outermost namespace block should not be indented.
And One-line control clauses should not use braces.

* WebProcess/WebCoreSupport/WebInspectorClient.cpp:
(WebKit::WebInspectorClient::closeInspectorFrontend):
* WebProcess/WebCoreSupport/WebInspectorClient.h:
(WebCore):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (144410 => 144411)


--- trunk/Source/WebKit2/ChangeLog	2013-03-01 04:37:55 UTC (rev 144410)
+++ trunk/Source/WebKit2/ChangeLog	2013-03-01 04:39:52 UTC (rev 144411)
@@ -1,3 +1,18 @@
+2013-02-28  Seokju Kwon  <[email protected]>
+
+        [WK2] Refactoring : Fix indentation and braces in WebInspectorClient.h|cpp
+        https://bugs.webkit.org/show_bug.cgi?id=109925
+
+        Reviewed by Benjamin Poulain.
+
+        The contents of an outermost namespace block should not be indented.
+        And One-line control clauses should not use braces.
+
+        * WebProcess/WebCoreSupport/WebInspectorClient.cpp:
+        (WebKit::WebInspectorClient::closeInspectorFrontend):
+        * WebProcess/WebCoreSupport/WebInspectorClient.h:
+        (WebCore):
+
 2013-02-28  Kiran Muppala  <[email protected]>
 
         Add a pre-bootstrap message for NetworkProcess XPC service

Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.cpp (144410 => 144411)


--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.cpp	2013-03-01 04:37:55 UTC (rev 144410)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.cpp	2013-03-01 04:39:52 UTC (rev 144411)
@@ -52,9 +52,8 @@
 
 void WebInspectorClient::closeInspectorFrontend()
 {
-    if (m_page->inspector()) {
+    if (m_page->inspector())
         m_page->inspector()->didClose();
-    }
 }
 
 void WebInspectorClient::bringFrontendToFront()

Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.h (144410 => 144411)


--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.h	2013-03-01 04:37:55 UTC (rev 144410)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.h	2013-03-01 04:39:52 UTC (rev 144411)
@@ -34,8 +34,8 @@
 #include <WebCore/InspectorFrontendChannel.h>
 
 namespace WebCore {
-    class GraphicsContext;
-    class IntRect;
+class GraphicsContext;
+class IntRect;
 }
 
 namespace WebKit {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to