20% regression on dom_perf/DomDivWalk
[WebKit-https.git] / Source / WebCore / dom / Node.h
index 9dd6019..a3d4eff 100644 (file)
@@ -685,6 +685,9 @@ public:
 #if ENABLE(DIALOG_ELEMENT)
     bool isInTopLayer() const { return getFlag(IsInTopLayer); }
     void setIsInTopLayer(bool);
+#else
+    bool isInTopLayer() const { return false; }
+    void setIsInTopLayer(bool) { }
 #endif
 
 private: