Title: [175434] trunk/Source/WebCore
Revision
175434
Author
[email protected]
Date
2014-10-31 16:21:36 -0700 (Fri, 31 Oct 2014)

Log Message

Whitespace cleanup in Screen.h
https://bugs.webkit.org/show_bug.cgi?id=138265

Reviewed by Chris Dumez.

No indent for namespaces. Mark 'final'. Fix * placement.

* page/Screen.h:
(WebCore::Screen::create):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (175433 => 175434)


--- trunk/Source/WebCore/ChangeLog	2014-10-31 23:14:46 UTC (rev 175433)
+++ trunk/Source/WebCore/ChangeLog	2014-10-31 23:21:36 UTC (rev 175434)
@@ -1,5 +1,17 @@
 2014-10-31  Simon Fraser  <[email protected]>
 
+        Whitespace cleanup in Screen.h
+        https://bugs.webkit.org/show_bug.cgi?id=138265
+
+        Reviewed by Chris Dumez.
+
+        No indent for namespaces. Mark 'final'. Fix * placement.
+
+        * page/Screen.h:
+        (WebCore::Screen::create):
+
+2014-10-31  Simon Fraser  <[email protected]>
+
         Change the ScrollingThread code to use RunLoop::main().dispatch() rather than callOnMainThread(), which has Obj-C overhead
         https://bugs.webkit.org/show_bug.cgi?id=138263
 

Modified: trunk/Source/WebCore/page/Screen.h (175433 => 175434)


--- trunk/Source/WebCore/page/Screen.h	2014-10-31 23:14:46 UTC (rev 175433)
+++ trunk/Source/WebCore/page/Screen.h	2014-10-31 23:21:36 UTC (rev 175434)
@@ -37,24 +37,24 @@
 
 namespace WebCore {
 
-    class Frame;
+class Frame;
 
-    class Screen : public ScriptWrappable, public RefCounted<Screen>, public DOMWindowProperty {
-    public:
-        static PassRefPtr<Screen> create(Frame *frame) { return adoptRef(new Screen(frame)); }
+class Screen final : public ScriptWrappable, public RefCounted<Screen>, public DOMWindowProperty {
+public:
+    static PassRefPtr<Screen> create(Frame* frame) { return adoptRef(new Screen(frame)); }
 
-        unsigned height() const;
-        unsigned width() const;
-        unsigned colorDepth() const;
-        unsigned pixelDepth() const;
-        int availLeft() const;
-        int availTop() const;
-        unsigned availHeight() const;
-        unsigned availWidth() const;
+    unsigned height() const;
+    unsigned width() const;
+    unsigned colorDepth() const;
+    unsigned pixelDepth() const;
+    int availLeft() const;
+    int availTop() const;
+    unsigned availHeight() const;
+    unsigned availWidth() const;
 
-    private:
-        explicit Screen(Frame*);
-    };
+private:
+    explicit Screen(Frame*);
+};
 
 } // namespace WebCore
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to