[WTF] Remove "private:" from Noncopyable and Nonmovable macros
https://bugs.webkit.org/show_bug.cgi?id=197767

Reviewed by Saam Barati.

We no longer need "private:".

* wtf/Noncopyable.h:
* wtf/Nonmovable.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@245177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WTF/ChangeLog b/Source/WTF/ChangeLog
index bae84b7..0dba068 100644
--- a/Source/WTF/ChangeLog
+++ b/Source/WTF/ChangeLog
@@ -1,3 +1,15 @@
+2019-05-10  Yusuke Suzuki  <ysuzuki@apple.com>
+
+        [WTF] Remove "private:" from Noncopyable and Nonmovable macros
+        https://bugs.webkit.org/show_bug.cgi?id=197767
+
+        Reviewed by Saam Barati.
+
+        We no longer need "private:".
+
+        * wtf/Noncopyable.h:
+        * wtf/Nonmovable.h:
+
 2019-05-08  Zan Dobersek  <zdobersek@igalia.com>
 
         [GLib] Rework WPE RunLoopSourcePriority values
diff --git a/Source/WTF/wtf/Noncopyable.h b/Source/WTF/wtf/Noncopyable.h
index d82b201..566e80b 100644
--- a/Source/WTF/wtf/Noncopyable.h
+++ b/Source/WTF/wtf/Noncopyable.h
@@ -21,7 +21,6 @@
 #pragma once
 
 #define WTF_MAKE_NONCOPYABLE(ClassName) \
-    private: \
-        ClassName(const ClassName&) = delete; \
-        ClassName& operator=(const ClassName&) = delete; \
+    ClassName(const ClassName&) = delete; \
+    ClassName& operator=(const ClassName&) = delete; \
 
diff --git a/Source/WTF/wtf/Nonmovable.h b/Source/WTF/wtf/Nonmovable.h
index 4c1034b..7e1a331 100644
--- a/Source/WTF/wtf/Nonmovable.h
+++ b/Source/WTF/wtf/Nonmovable.h
@@ -26,7 +26,6 @@
 #pragma once
 
 #define WTF_MAKE_NONMOVABLE(ClassName) \
-    private: \
-        ClassName(ClassName&&) = delete; \
-        ClassName& operator=(ClassName&&) = delete; \
+    ClassName(ClassName&&) = delete; \
+    ClassName& operator=(ClassName&&) = delete; \