Title: [93391] trunk/Source/WebCore
Revision
93391
Author
[email protected]
Date
2011-08-19 01:58:27 -0700 (Fri, 19 Aug 2011)

Log Message

Run-time error fix in WebKit-GTK with video support disabled.
https://bugs.webkit.org/show_bug.cgi?id=66541

Definition of the function extraFullScreenStyleSheet() in webkit-gtk
lies outside ENABLE(VIDEO) guard, resulting in runtime error while
trying to launch GtkLauncher with video support disabled.

Patch by Nayan Kumar K <[email protected]> on 2011-08-19
Reviewed by Philippe Normand.

Run-time error fix. No test cases were added.

* platform/gtk/RenderThemeGtk.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (93390 => 93391)


--- trunk/Source/WebCore/ChangeLog	2011-08-19 08:46:47 UTC (rev 93390)
+++ trunk/Source/WebCore/ChangeLog	2011-08-19 08:58:27 UTC (rev 93391)
@@ -1,3 +1,18 @@
+2011-08-19  Nayan Kumar K  <[email protected]>
+
+        Run-time error fix in WebKit-GTK with video support disabled.
+        https://bugs.webkit.org/show_bug.cgi?id=66541
+
+        Definition of the function extraFullScreenStyleSheet() in webkit-gtk
+        lies outside ENABLE(VIDEO) guard, resulting in runtime error while
+        trying to launch GtkLauncher with video support disabled.
+
+        Reviewed by Philippe Normand.
+
+        Run-time error fix. No test cases were added.
+
+        * platform/gtk/RenderThemeGtk.h:
+
 2011-08-19  Shinya Kawanaka  <[email protected]>
 
         input[maxlength=0] should ignore text input.

Modified: trunk/Source/WebCore/platform/gtk/RenderThemeGtk.h (93390 => 93391)


--- trunk/Source/WebCore/platform/gtk/RenderThemeGtk.h	2011-08-19 08:46:47 UTC (rev 93390)
+++ trunk/Source/WebCore/platform/gtk/RenderThemeGtk.h	2011-08-19 08:58:27 UTC (rev 93391)
@@ -85,11 +85,11 @@
 #if ENABLE(VIDEO)
     virtual String extraMediaControlsStyleSheet();
     virtual String formatMediaControlsCurrentTime(float currentTime, float duration) const;
-#endif
 
 #if ENABLE(FULLSCREEN_API)
     virtual String extraFullScreenStyleSheet();
 #endif
+#endif
 
 #ifdef GTK_API_VERSION_2
     GtkWidget* gtkContainer() const;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to