Title: [108038] trunk/Source/WebCore
Revision
108038
Author
[email protected]
Date
2012-02-16 23:20:12 -0800 (Thu, 16 Feb 2012)

Log Message

Add ENABLE(STYLE_SCOPED) around HTMLStyleElement::m_isRegisteredWithScopingNode 

The instance variable HTMLStyleElement::m_isRegisteredWithScopingNode is only
referenced from within ENABLE(STYLE_SCOPED)-guarded code. We should add this
guard around its declaration.

* html/HTMLStyleElement.h:
(HTMLStyleElement):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108037 => 108038)


--- trunk/Source/WebCore/ChangeLog	2012-02-17 07:10:12 UTC (rev 108037)
+++ trunk/Source/WebCore/ChangeLog	2012-02-17 07:20:12 UTC (rev 108038)
@@ -1,3 +1,14 @@
+2012-02-16  Daniel Bates  <[email protected]>
+
+        Add ENABLE(STYLE_SCOPED) around HTMLStyleElement::m_isRegisteredWithScopingNode 
+
+        The instance variable HTMLStyleElement::m_isRegisteredWithScopingNode is only
+        referenced from within ENABLE(STYLE_SCOPED)-guarded code. We should add this
+        guard around its declaration.
+
+        * html/HTMLStyleElement.h:
+        (HTMLStyleElement):
+
 2012-02-16  Shinya Kawanaka  <[email protected]>
 
         [v8] v8 doesn't assume to do 'new WebKitShadowRoot(host)'

Modified: trunk/Source/WebCore/html/HTMLStyleElement.h (108037 => 108038)


--- trunk/Source/WebCore/html/HTMLStyleElement.h	2012-02-17 07:10:12 UTC (rev 108037)
+++ trunk/Source/WebCore/html/HTMLStyleElement.h	2012-02-17 07:20:12 UTC (rev 108038)
@@ -74,7 +74,9 @@
     void registerWithScopingNode();
     void unregisterWithScopingNode();
 
+#if ENABLE(STYLE_SCOPED)
     bool m_isRegisteredWithScopingNode;
+#endif
 };
 
 } //namespace
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to