Title: [138343] trunk/Source/WebKit2
Revision
138343
Author
[email protected]
Date
2012-12-20 19:08:53 -0800 (Thu, 20 Dec 2012)

Log Message

[CoordGfx] Make single-argument AreaAllocator constructors explicit
https://bugs.webkit.org/show_bug.cgi?id=105598

Patch by Helder Correia <[email protected]> on 2012-12-20
Reviewed by Noam Rosenthal.

Follow the coding style for AreaAllocator and GeneralAreaAllocator.

* WebProcess/WebPage/CoordinatedGraphics/AreaAllocator.h:
(AreaAllocator):
(GeneralAreaAllocator):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (138342 => 138343)


--- trunk/Source/WebKit2/ChangeLog	2012-12-21 03:00:54 UTC (rev 138342)
+++ trunk/Source/WebKit2/ChangeLog	2012-12-21 03:08:53 UTC (rev 138343)
@@ -1,3 +1,16 @@
+2012-12-20  Helder Correia  <[email protected]>
+
+        [CoordGfx] Make single-argument AreaAllocator constructors explicit
+        https://bugs.webkit.org/show_bug.cgi?id=105598
+
+        Reviewed by Noam Rosenthal.
+
+        Follow the coding style for AreaAllocator and GeneralAreaAllocator.
+
+        * WebProcess/WebPage/CoordinatedGraphics/AreaAllocator.h:
+        (AreaAllocator):
+        (GeneralAreaAllocator):
+
 2012-12-20  Elliott Sprehn  <[email protected]>
 
         Replace documentFragmentIsShadowRoot with isTreeScope

Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/AreaAllocator.h (138342 => 138343)


--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/AreaAllocator.h	2012-12-21 03:00:54 UTC (rev 138342)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/AreaAllocator.h	2012-12-21 03:08:53 UTC (rev 138343)
@@ -50,7 +50,7 @@
 
 class AreaAllocator {
 public:
-    AreaAllocator(const WebCore::IntSize&);
+    explicit AreaAllocator(const WebCore::IntSize&);
     virtual ~AreaAllocator();
 
     WebCore::IntSize size() const { return m_size; }
@@ -79,7 +79,7 @@
 
 class GeneralAreaAllocator : public AreaAllocator {
 public:
-    GeneralAreaAllocator(const WebCore::IntSize&);
+    explicit GeneralAreaAllocator(const WebCore::IntSize&);
     virtual ~GeneralAreaAllocator();
 
     void expand(const WebCore::IntSize&);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to