Title: [111135] trunk/Source/WebCore
Revision
111135
Author
psola...@apple.com
Date
2012-03-18 12:17:21 -0700 (Sun, 18 Mar 2012)

Log Message

Fix compile when FULLSCREEN_API is not enabled on Mac
https://bugs.webkit.org/show_bug.cgi?id=81474

Reviewed by Ada Chan.

Guard the full screen api code inside ENABLE(FULLSCREEN_API).

No new tests because no functional changes.

* platform/mac/WebCoreFullScreenWindow.h:
* platform/mac/WebCoreFullScreenWindow.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (111134 => 111135)


--- trunk/Source/WebCore/ChangeLog	2012-03-18 18:47:12 UTC (rev 111134)
+++ trunk/Source/WebCore/ChangeLog	2012-03-18 19:17:21 UTC (rev 111135)
@@ -1,3 +1,17 @@
+2012-03-18  Pratik Solanki  <psola...@apple.com>
+
+        Fix compile when FULLSCREEN_API is not enabled on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=81474
+
+        Reviewed by Ada Chan.
+
+        Guard the full screen api code inside ENABLE(FULLSCREEN_API).
+
+        No new tests because no functional changes.
+
+        * platform/mac/WebCoreFullScreenWindow.h:
+        * platform/mac/WebCoreFullScreenWindow.mm:
+
 2012-03-18  Kentaro Hara  <hara...@chromium.org>
 
         Change the initial buffer size of a plain text

Modified: trunk/Source/WebCore/platform/mac/WebCoreFullScreenWindow.h (111134 => 111135)


--- trunk/Source/WebCore/platform/mac/WebCoreFullScreenWindow.h	2012-03-18 18:47:12 UTC (rev 111134)
+++ trunk/Source/WebCore/platform/mac/WebCoreFullScreenWindow.h	2012-03-18 19:17:21 UTC (rev 111135)
@@ -26,7 +26,11 @@
 #ifndef WebCoreFullScreenWindow_h
 #define WebCoreFullScreenWindow_h
 
+#if ENABLE(FULLSCREEN_API)
+
 @interface WebCoreFullScreenWindow : NSWindow
 @end
 
+#endif // ENABLE(FULLSCREEN_API)
+
 #endif // WebCoreFullScreenWindow_h

Modified: trunk/Source/WebCore/platform/mac/WebCoreFullScreenWindow.mm (111134 => 111135)


--- trunk/Source/WebCore/platform/mac/WebCoreFullScreenWindow.mm	2012-03-18 18:47:12 UTC (rev 111134)
+++ trunk/Source/WebCore/platform/mac/WebCoreFullScreenWindow.mm	2012-03-18 19:17:21 UTC (rev 111135)
@@ -24,6 +24,9 @@
  */
 
 #import "config.h"
+
+#if ENABLE(FULLSCREEN_API)
+
 #import "WebCoreFullScreenWindow.h"
 
 @implementation WebCoreFullScreenWindow
@@ -66,3 +69,4 @@
 }
 @end
 
+#endif // ENABLE(FULLSCREEN_API)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to