Title: [141972] trunk/Source/WebCore
Revision
141972
Author
[email protected]
Date
2013-02-05 23:44:53 -0800 (Tue, 05 Feb 2013)

Log Message

Add #if USE(V8) to Node::V8CollectableDuringMinorGCFlag
https://bugs.webkit.org/show_bug.cgi?id=109009

Reviewed by Kent Tamura.

Node flags should be saved. V8CollectableDuringMinorGCFlag is used by V8 only.

* dom/Node.h:
(Node):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (141971 => 141972)


--- trunk/Source/WebCore/ChangeLog	2013-02-06 07:41:12 UTC (rev 141971)
+++ trunk/Source/WebCore/ChangeLog	2013-02-06 07:44:53 UTC (rev 141972)
@@ -1,3 +1,15 @@
+2013-02-05  Kentaro Hara  <[email protected]>
+
+        Add #if USE(V8) to Node::V8CollectableDuringMinorGCFlag
+        https://bugs.webkit.org/show_bug.cgi?id=109009
+
+        Reviewed by Kent Tamura.
+
+        Node flags should be saved. V8CollectableDuringMinorGCFlag is used by V8 only.
+
+        * dom/Node.h:
+        (Node):
+
 2013-02-05  Vsevolod Vlasov  <[email protected]>
 
         Web Inspector: Add ending slashes automatically to file mappings.

Modified: trunk/Source/WebCore/dom/Node.h (141971 => 141972)


--- trunk/Source/WebCore/dom/Node.h	2013-02-06 07:41:12 UTC (rev 141971)
+++ trunk/Source/WebCore/dom/Node.h	2013-02-06 07:44:53 UTC (rev 141972)
@@ -380,8 +380,10 @@
     bool hasEventTargetData() const { return getFlag(HasEventTargetDataFlag); }
     void setHasEventTargetData(bool flag) { setFlag(flag, HasEventTargetDataFlag); }
 
+#if USE(V8)
     bool isV8CollectableDuringMinorGC() const { return getFlag(V8CollectableDuringMinorGCFlag); }
     void setV8CollectableDuringMinorGC(bool flag) { setFlag(flag, V8CollectableDuringMinorGCFlag); }
+#endif
 
     enum ShouldSetAttached {
         SetAttached,
@@ -718,7 +720,9 @@
         HasCustomCallbacksFlag = 1 << 21,
         HasScopedHTMLStyleChildFlag = 1 << 22,
         HasEventTargetDataFlag = 1 << 23,
+#if USE(V8)
         V8CollectableDuringMinorGCFlag = 1 << 24,
+#endif
         NeedsShadowTreeWalkerFlag = 1 << 25,
         IsInShadowTreeFlag = 1 << 26,
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to