Title: [158355] trunk/Source/WebCore
Revision
158355
Author
[email protected]
Date
2013-10-31 02:14:49 -0700 (Thu, 31 Oct 2013)

Log Message

[GTK] Undefined references to RenderObject::style() when disabling video support
https://bugs.webkit.org/show_bug.cgi?id=123492

Reviewed by Carlos Garcia Campos.

* platform/gtk/RenderThemeGtk2.cpp: Disabling video support removes indirect inclusion of the RenderElement.h
header, causing undefined references to RenderObject::style(). The RenderElement.h header should be included
instead of RenderObject.h as the former defines the RenderObject::style() inline and also includes the latter.
* platform/gtk/RenderThemeGtk3.cpp: Ditto.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (158354 => 158355)


--- trunk/Source/WebCore/ChangeLog	2013-10-31 08:55:48 UTC (rev 158354)
+++ trunk/Source/WebCore/ChangeLog	2013-10-31 09:14:49 UTC (rev 158355)
@@ -1,3 +1,15 @@
+2013-10-31  Zan Dobersek  <[email protected]>
+
+        [GTK] Undefined references to RenderObject::style() when disabling video support
+        https://bugs.webkit.org/show_bug.cgi?id=123492
+
+        Reviewed by Carlos Garcia Campos.
+
+        * platform/gtk/RenderThemeGtk2.cpp: Disabling video support removes indirect inclusion of the RenderElement.h
+        header, causing undefined references to RenderObject::style(). The RenderElement.h header should be included
+        instead of RenderObject.h as the former defines the RenderObject::style() inline and also includes the latter.
+        * platform/gtk/RenderThemeGtk3.cpp: Ditto.
+
 2013-10-31  Robert Plociennik  <[email protected]>
 
         [EFL] accessibility/textbox-role-reports-selection.html is failing

Modified: trunk/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp (158354 => 158355)


--- trunk/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp	2013-10-31 08:55:48 UTC (rev 158354)
+++ trunk/Source/WebCore/platform/gtk/RenderThemeGtk2.cpp	2013-10-31 09:14:49 UTC (rev 158355)
@@ -38,7 +38,7 @@
 #include "HTMLNames.h"
 #include "MediaControlElements.h"
 #include "PaintInfo.h"
-#include "RenderObject.h"
+#include "RenderElement.h"
 #include "TextDirection.h"
 #include "UserAgentStyleSheets.h"
 #include "WidgetRenderingContext.h"

Modified: trunk/Source/WebCore/platform/gtk/RenderThemeGtk3.cpp (158354 => 158355)


--- trunk/Source/WebCore/platform/gtk/RenderThemeGtk3.cpp	2013-10-31 08:55:48 UTC (rev 158354)
+++ trunk/Source/WebCore/platform/gtk/RenderThemeGtk3.cpp	2013-10-31 09:14:49 UTC (rev 158355)
@@ -35,7 +35,7 @@
 #include "Page.h"
 #include "PaintInfo.h"
 #include "PlatformContextCairo.h"
-#include "RenderObject.h"
+#include "RenderElement.h"
 #include "TextDirection.h"
 #include "UserAgentStyleSheets.h"
 #include <cmath>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to