Title: [129049] trunk/Source/WebKit2
Revision
129049
Author
[email protected]
Date
2012-09-19 15:23:25 -0700 (Wed, 19 Sep 2012)

Log Message

Warning in SandboxExtension.h if WEB_PROCESS_SANDBOX is not enabled
https://bugs.webkit.org/show_bug.cgi?id=97137

Reviewed by Benjamin Poulain.

m_size is only used when WEB_PROCESS_SANDBOX is enabled, so move its declaration inside
#if ENABLE(WEB_PROCESS_SANDBOX).

* Shared/SandboxExtension.h:
(HandleArray):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (129048 => 129049)


--- trunk/Source/WebKit2/ChangeLog	2012-09-19 22:01:09 UTC (rev 129048)
+++ trunk/Source/WebKit2/ChangeLog	2012-09-19 22:23:25 UTC (rev 129049)
@@ -1,3 +1,16 @@
+2012-09-19  Pratik Solanki  <[email protected]>
+
+        Warning in SandboxExtension.h if WEB_PROCESS_SANDBOX is not enabled
+        https://bugs.webkit.org/show_bug.cgi?id=97137
+
+        Reviewed by Benjamin Poulain.
+
+        m_size is only used when WEB_PROCESS_SANDBOX is enabled, so move its declaration inside
+        #if ENABLE(WEB_PROCESS_SANDBOX).
+
+        * Shared/SandboxExtension.h:
+        (HandleArray):
+
 2012-09-19  Sudarsana Nagineni  <[email protected]>
 
         [WTR] Memory leaks in TestRunner::deliverWebIntent()

Modified: trunk/Source/WebKit2/Shared/SandboxExtension.h (129048 => 129049)


--- trunk/Source/WebKit2/Shared/SandboxExtension.h	2012-09-19 22:01:09 UTC (rev 129048)
+++ trunk/Source/WebKit2/Shared/SandboxExtension.h	2012-09-19 22:23:25 UTC (rev 129049)
@@ -84,10 +84,10 @@
     private:
 #if ENABLE(WEB_PROCESS_SANDBOX)
         Handle* m_data;
+        size_t m_size;
 #else
         Handle m_emptyHandle;
 #endif
-        size_t m_size;
     };
     
     static PassRefPtr<SandboxExtension> create(const Handle&);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to