Commit 4ddeb009 authored by zecke@webkit.org's avatar zecke@webkit.org

Compile fix after r42633. const on a static method does not work

git-svn-id: svn://svn.chromium.org/blink/trunk@42708 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 39b2c3ff
2009-04-21 Holger Hans Peter Freyther <zecke@selfish.org>
Unreviewed build fix.
Compile fix for r42633. const qualifier does not work
on a static method.
* dom/Document.h:
(WebCore::Document::isSVGDocument):
2009-04-21 Dan Bernstein <mitz@apple.com>
Reviewed by Darin Adler and John Sullivan.
......@@ -308,7 +308,7 @@ public:
#if ENABLE(SVG)
virtual bool isSVGDocument() const { return false; }
#else
static bool isSVGDocument() const { return false; }
static bool isSVGDocument() { return false; }
#endif
virtual bool isPluginDocument() const { return false; }
virtual bool isMediaDocument() const { return false; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment