summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/TreeDepthLimit.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/TreeDepthLimit.h')
-rw-r--r--Source/WebCore/dom/TreeDepthLimit.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/WebCore/dom/TreeDepthLimit.h b/Source/WebCore/dom/TreeDepthLimit.h
index e78e093f2..000349ecb 100644
--- a/Source/WebCore/dom/TreeDepthLimit.h
+++ b/Source/WebCore/dom/TreeDepthLimit.h
@@ -28,13 +28,14 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef TreeDepthLimit_h
-#define TreeDepthLimit_h
+#pragma once
#ifndef MAX_DOM_TREE_DEPTH
#define MAX_DOM_TREE_DEPTH 5000
#endif
-const unsigned maxDOMTreeDepth = MAX_DOM_TREE_DEPTH;
-#endif // TreeDepthLimit.h
+namespace WebCore {
+
+const unsigned maxDOMTreeDepth = MAX_DOM_TREE_DEPTH;
+} // namespace WebCore