Unreviewed build fix for ENABLE(TREE_DEBUGGING)
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 May 2015 16:31:50 +0000 (16:31 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 May 2015 16:31:50 +0000 (16:31 +0000)
* editing/VisibleSelection.h:
* html/parser/HTMLElementStack.h:
* html/parser/HTMLFormattingElementList.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@184770 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/editing/VisibleSelection.h
Source/WebCore/html/parser/HTMLElementStack.h
Source/WebCore/html/parser/HTMLFormattingElementList.h

index bac71f7..dad7215 100644 (file)
@@ -1,3 +1,11 @@
+2015-05-22  Zalan Bujtas  <zalan@apple.com>
+
+        Unreviewed build fix for ENABLE(TREE_DEBUGGING)
+
+        * editing/VisibleSelection.h:
+        * html/parser/HTMLElementStack.h:
+        * html/parser/HTMLFormattingElementList.h:
+
 2015-05-22  Joanmarie Diggs  <jdiggs@igalia.com>
 
         AX: Figure out why list-detection2.html test fails on GTK
index c1c2d1f..7b93614 100644 (file)
@@ -156,7 +156,7 @@ inline bool operator!=(const VisibleSelection& a, const VisibleSelection& b)
 
 } // namespace WebCore
 
-#ifndef NDEBUG
+#if ENABLE(TREE_DEBUGGING)
 // Outside the WebCore namespace for ease of invocation from gdb.
 void showTree(const WebCore::VisibleSelection&);
 void showTree(const WebCore::VisibleSelection*);
index 1335129..8658c09 100644 (file)
@@ -156,7 +156,7 @@ public:
 
     ContainerNode& rootNode() const;
 
-#ifndef NDEBUG
+#if ENABLE(TREE_DEBUGGING)
     void show();
 #endif
 
index 8439cc3..8b251b2 100644 (file)
@@ -121,7 +121,7 @@ public:
     const Entry& at(size_t i) const { return m_entries[i]; }
     Entry& at(size_t i) { return m_entries[i]; }
 
-#ifndef NDEBUG
+#if ENABLE(TREE_DEBUGGING)
     void show();
 #endif