Title: [125370] trunk/Source/WebKit2
Revision
125370
Author
[email protected]
Date
2012-08-12 04:29:29 -0700 (Sun, 12 Aug 2012)

Log Message

Fix build with recent clang.
https://bugs.webkit.org/show_bug.cgi?id=90701

Patch by Nuno Lopes <[email protected]> on 2012-08-12
Reviewed by Eric Seidel.

* Shared/CommandLine.h:
(CommandLine):
* WebProcess/Notifications/NotificationPermissionRequestManager.cpp:
(WebKit::NotificationPermissionRequestManager::NotificationPermissionRequestManager):
* WebProcess/Notifications/NotificationPermissionRequestManager.h:
(NotificationPermissionRequestManager):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (125369 => 125370)


--- trunk/Source/WebKit2/ChangeLog	2012-08-12 11:26:04 UTC (rev 125369)
+++ trunk/Source/WebKit2/ChangeLog	2012-08-12 11:29:29 UTC (rev 125370)
@@ -1,3 +1,17 @@
+2012-08-12  Nuno Lopes  <[email protected]>
+
+        Fix build with recent clang.
+        https://bugs.webkit.org/show_bug.cgi?id=90701
+
+        Reviewed by Eric Seidel.
+
+        * Shared/CommandLine.h:
+        (CommandLine):
+        * WebProcess/Notifications/NotificationPermissionRequestManager.cpp:
+        (WebKit::NotificationPermissionRequestManager::NotificationPermissionRequestManager):
+        * WebProcess/Notifications/NotificationPermissionRequestManager.h:
+        (NotificationPermissionRequestManager):
+
 2012-08-11  Sam Weinig  <[email protected]>
 
         Fix the build.

Modified: trunk/Source/WebKit2/Shared/CommandLine.h (125369 => 125370)


--- trunk/Source/WebKit2/Shared/CommandLine.h	2012-08-12 11:26:04 UTC (rev 125369)
+++ trunk/Source/WebKit2/Shared/CommandLine.h	2012-08-12 11:29:29 UTC (rev 125370)
@@ -48,8 +48,6 @@
     }
 
 private:
-    bool m_parsedSuccessfully;
-
     HashMap<String, String> m_args;
 };
 

Modified: trunk/Source/WebKit2/WebProcess/Notifications/NotificationPermissionRequestManager.cpp (125369 => 125370)


--- trunk/Source/WebKit2/WebProcess/Notifications/NotificationPermissionRequestManager.cpp	2012-08-12 11:26:04 UTC (rev 125369)
+++ trunk/Source/WebKit2/WebProcess/Notifications/NotificationPermissionRequestManager.cpp	2012-08-12 11:29:29 UTC (rev 125370)
@@ -55,8 +55,11 @@
 }
 
 NotificationPermissionRequestManager::NotificationPermissionRequestManager(WebPage* page)
+#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
     : m_page(page)
+#endif
 {
+    (void)page;
 }
 
 #if ENABLE(NOTIFICATIONS)

Modified: trunk/Source/WebKit2/WebProcess/Notifications/NotificationPermissionRequestManager.h (125369 => 125370)


--- trunk/Source/WebKit2/WebProcess/Notifications/NotificationPermissionRequestManager.h	2012-08-12 11:26:04 UTC (rev 125369)
+++ trunk/Source/WebKit2/WebProcess/Notifications/NotificationPermissionRequestManager.h	2012-08-12 11:29:29 UTC (rev 125370)
@@ -72,7 +72,9 @@
     HashMap<RefPtr<WebCore::SecurityOrigin>, uint64_t> m_originToIDMap;
     HashMap<uint64_t, RefPtr<WebCore::SecurityOrigin> > m_idToOriginMap;
 
+#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
     WebPage* m_page;
+#endif
 };
 
 inline bool isRequestIDValid(uint64_t id)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to