[GTK] Remove unnecessary includes in WidgetGtk.cpp
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 May 2013 18:39:53 +0000 (18:39 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 May 2013 18:39:53 +0000 (18:39 +0000)
https://bugs.webkit.org/show_bug.cgi?id=115912

Reviewed by Andreas Kling.

No new tests - no new functionality.

* platform/gtk/WidgetGtk.cpp: Remove the unnecessary includes of the Chrome.h, Frame.h, FrameView.h,
Page.h and RenderObject.h headers as the included declarations are not used anywhere. ScrollView.h is
included instead as it is required and was previously included by one of the removed header inclusions.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/gtk/WidgetGtk.cpp

index 122f84b..1e903dc 100644 (file)
@@ -1,5 +1,18 @@
 2013-05-10  Zan Dobersek  <zdobersek@igalia.com>
 
+        [GTK] Remove unnecessary includes in WidgetGtk.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=115912
+
+        Reviewed by Andreas Kling.
+
+        No new tests - no new functionality.
+
+        * platform/gtk/WidgetGtk.cpp: Remove the unnecessary includes of the Chrome.h, Frame.h, FrameView.h,
+        Page.h and RenderObject.h headers as the included declarations are not used anywhere. ScrollView.h is
+        included instead as it is required and was previously included by one of the removed header inclusions.
+
+2013-05-10  Zan Dobersek  <zdobersek@igalia.com>
+
         [Cairo] Remove the unnecessary ImageData.h include in ImageBufferCairo.cpp
         https://bugs.webkit.org/show_bug.cgi?id=115911
 
index 203f3c9..bc3d4bc 100644 (file)
 #include "config.h"
 #include "Widget.h"
 
-#include "Chrome.h"
 #include "Cursor.h"
-#include "Frame.h"
-#include "FrameView.h"
 #include "GraphicsContext.h"
 #include "GtkVersioning.h"
 #include "HostWindow.h"
 #include "IntRect.h"
-#include "Page.h"
-#include "RenderObject.h"
+#include "ScrollView.h"
 
 #include <gdk/gdk.h>
 #include <gtk/gtk.h>