Title: [123873] trunk/Source/WebCore
Revision
123873
Author
[email protected]
Date
2012-07-27 06:56:58 -0700 (Fri, 27 Jul 2012)

Log Message

REGRESSION(r123856): Breaks the build when disabling inspector
https://bugs.webkit.org/show_bug.cgi?id=92493

Patch by Thiago Marcos P. Santos <[email protected]> on 2012-07-27
Reviewed by Kentaro Hara.

* bindings/js/ScriptGCEvent.h:
(WebCore):
* bindings/v8/ScriptGCEvent.h:
(WebCore):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (123872 => 123873)


--- trunk/Source/WebCore/ChangeLog	2012-07-27 13:45:16 UTC (rev 123872)
+++ trunk/Source/WebCore/ChangeLog	2012-07-27 13:56:58 UTC (rev 123873)
@@ -1,3 +1,15 @@
+2012-07-27  Thiago Marcos P. Santos  <[email protected]>
+
+        REGRESSION(r123856): Breaks the build when disabling inspector
+        https://bugs.webkit.org/show_bug.cgi?id=92493
+
+        Reviewed by Kentaro Hara.
+
+        * bindings/js/ScriptGCEvent.h:
+        (WebCore):
+        * bindings/v8/ScriptGCEvent.h:
+        (WebCore):
+
 2012-07-27  Christophe Dumez  <[email protected]>
 
         [EFL][WK2] Add API to Ewk_Cookie_Manager to watch for cookie changes

Modified: trunk/Source/WebCore/bindings/js/ScriptGCEvent.h (123872 => 123873)


--- trunk/Source/WebCore/bindings/js/ScriptGCEvent.h	2012-07-27 13:45:16 UTC (rev 123872)
+++ trunk/Source/WebCore/bindings/js/ScriptGCEvent.h	2012-07-27 13:56:58 UTC (rev 123873)
@@ -31,12 +31,8 @@
 #ifndef ScriptGCEvent_h
 #define ScriptGCEvent_h
 
-#if ENABLE(INSPECTOR)
-
 namespace WebCore {
 
-class ScriptGCEventListener;
-
 struct HeapInfo {
     HeapInfo()
         : usedJSHeapSize(0)
@@ -50,6 +46,10 @@
     size_t jsHeapSizeLimit;
 };
 
+#if ENABLE(INSPECTOR)
+
+class ScriptGCEventListener;
+
 class ScriptGCEvent
 {
 public:
@@ -58,7 +58,8 @@
     static void getHeapSize(HeapInfo&);
 };
 
+#endif // ENABLE(INSPECTOR)
+
 } // namespace WebCore
 
-#endif // !ENABLE(INSPECTOR)
 #endif // !defined(ScriptGCEvent_h)

Modified: trunk/Source/WebCore/bindings/v8/ScriptGCEvent.h (123872 => 123873)


--- trunk/Source/WebCore/bindings/v8/ScriptGCEvent.h	2012-07-27 13:45:16 UTC (rev 123872)
+++ trunk/Source/WebCore/bindings/v8/ScriptGCEvent.h	2012-07-27 13:56:58 UTC (rev 123873)
@@ -31,15 +31,11 @@
 #ifndef ScriptGCEvent_h
 #define ScriptGCEvent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "v8.h"
 #include <wtf/Vector.h>
 
 namespace WebCore {
 
-class ScriptGCEventListener;
-
 struct HeapInfo {
     HeapInfo()
         : usedJSHeapSize(0)
@@ -53,6 +49,10 @@
     size_t jsHeapSizeLimit;
 };
 
+#if ENABLE(INSPECTOR)
+
+class ScriptGCEventListener;
+
 class ScriptGCEvent
 {
 public:
@@ -66,7 +66,8 @@
     static size_t getUsedHeapSize();
 };
 
+#endif // ENABLE(INSPECTOR)
+
 } // namespace WebCore
 
-#endif // !ENABLE(INSPECTOR)
 #endif // !defined(ScriptGCEvent_h)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to