Minor cleanups to WebCore/plugins
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Apr 2015 00:30:00 +0000 (00:30 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Apr 2015 00:30:00 +0000 (00:30 +0000)
https://bugs.webkit.org/show_bug.cgi?id=143509

Patch by Sungmann Cho <sungmann.cho@navercorp.com> on 2015-04-09
Reviewed by Anders Carlsson.

1. Remove unnecessary #includes.
2. Fix some wrong namespace comments for consistency.

No new tests, no behavior change.

* plugins/DOMMimeType.cpp:
* plugins/DOMMimeType.h:
* plugins/DOMMimeTypeArray.h:
* plugins/DOMPlugin.h:
* plugins/DOMPluginArray.h:
* plugins/PluginData.cpp:
* plugins/PluginData.h:
* plugins/PluginMainThreadScheduler.cpp:
* plugins/PluginViewBase.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182617 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/plugins/DOMMimeType.cpp
Source/WebCore/plugins/DOMMimeType.h
Source/WebCore/plugins/DOMMimeTypeArray.h
Source/WebCore/plugins/DOMPlugin.h
Source/WebCore/plugins/DOMPluginArray.h
Source/WebCore/plugins/PluginData.cpp
Source/WebCore/plugins/PluginData.h
Source/WebCore/plugins/PluginMainThreadScheduler.cpp
Source/WebCore/plugins/PluginViewBase.h

index ad6ed1c..4ffed17 100644 (file)
@@ -1,3 +1,25 @@
+2015-04-09  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        Minor cleanups to WebCore/plugins
+        https://bugs.webkit.org/show_bug.cgi?id=143509
+
+        Reviewed by Anders Carlsson.
+
+        1. Remove unnecessary #includes.
+        2. Fix some wrong namespace comments for consistency.
+
+        No new tests, no behavior change.
+
+        * plugins/DOMMimeType.cpp:
+        * plugins/DOMMimeType.h:
+        * plugins/DOMMimeTypeArray.h:
+        * plugins/DOMPlugin.h:
+        * plugins/DOMPluginArray.h:
+        * plugins/PluginData.cpp:
+        * plugins/PluginData.h:
+        * plugins/PluginMainThreadScheduler.cpp:
+        * plugins/PluginViewBase.h:
+
 2015-04-09  Javier Fernandez  <jfernandez@igalia.com>
 
         [CSS Grid Layout] Implement justify-self and justify-item css properties.
index e28a8a0..5542952 100644 (file)
 
 #include "DOMPlugin.h"
 #include "FrameLoader.h"
-#include "FrameLoaderClient.h"
 #include "MainFrame.h"
 #include "Page.h"
 #include "PluginData.h"
-#include "Settings.h"
 #include "SubframeLoader.h"
 #include <wtf/text/StringBuilder.h>
 
index a0903a2..ce5423c 100644 (file)
@@ -23,7 +23,6 @@
 #include "FrameDestructionObserver.h"
 #include "PluginData.h"
 
-#include <wtf/Forward.h>
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
 #include <wtf/RefPtr.h>
@@ -50,6 +49,6 @@ private:
     unsigned m_index;
 };
 
-}
+} // namespace WebCore
 
-#endif
+#endif // DOMMimeType_h
index 06f0d59..96d5b56 100644 (file)
 #include "DOMMimeType.h"
 #include "DOMWindowProperty.h"
 #include "ScriptWrappable.h"
-#include <wtf/Forward.h>
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
 
 namespace WebCore {
 
@@ -51,4 +49,4 @@ private:
 
 } // namespace WebCore
 
-#endif // MimeTypeArray_h
+#endif // DOMMimeTypeArray_h
index 522098e..e329f6e 100644 (file)
@@ -23,9 +23,8 @@
 #include "FrameDestructionObserver.h"
 #include "DOMMimeType.h"
 #include "ScriptWrappable.h"
-#include <wtf/Forward.h>
-#include <wtf/RefPtr.h>
 #include <wtf/RefCounted.h>
+#include <wtf/RefPtr.h>
 
 namespace WebCore {
 
@@ -57,4 +56,4 @@ private:
 
 } // namespace WebCore
 
-#endif // Plugin_h
+#endif // DOMPlugin_h
index ea964a4..67de68b 100644 (file)
 #include "DOMPlugin.h"
 #include "DOMWindowProperty.h"
 #include "ScriptWrappable.h"
-#include <wtf/Forward.h>
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
 
 namespace WebCore {
 
@@ -53,4 +51,4 @@ private:
 
 } // namespace WebCore
 
-#endif // PluginArray_h
+#endif // DOMPluginArray_h
index 7caa9d5..81dc18e 100644 (file)
@@ -120,4 +120,4 @@ void PluginData::initPlugins()
     platformStrategies()->pluginStrategy()->getPluginInfo(m_page, m_plugins);
 }
 
-}
+} // namespace WebCore
index 1c85f65..e07cd19 100644 (file)
@@ -110,6 +110,6 @@ protected:
     Vector<PluginInfo> m_plugins;
 };
 
-}
+} // namespace WebCore
 
-#endif
+#endif // PluginData_h
index ca0579e..acb5bb8 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "config.h"
 #include "PluginMainThreadScheduler.h"
-#include <wtf/StdLibExtras.h>
 
 namespace WebCore {
 
index 53e21ef..7d7ffd6 100644 (file)
@@ -22,8 +22,8 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef PluginWidget_h
-#define PluginWidget_h
+#ifndef PluginViewBase_h
+#define PluginViewBase_h
 
 #include "AudioHardwareListener.h"
 #include "BridgeJSC.h"
@@ -90,4 +90,4 @@ protected:
 
 SPECIALIZE_TYPE_TRAITS_WIDGET(PluginViewBase, isPluginViewBase())
 
-#endif // PluginWidget_h
+#endif // PluginViewBase_h