Commit 30f9bf08 authored by hausmann@webkit.org's avatar hausmann@webkit.org

Partial WINSCW build fix.

Patch by Janne Koskinen <janne.p.koskinen@digia.com> on 2009-10-02
Reviewed by Simon Hausmann.

Add parentheses around the function pointer declaration, similar to the
second hunk in r48825.

* loader/CachedResourceHandle.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent dc1ac6e1
2009-10-02 Janne Koskinen <janne.p.koskinen@digia.com>
Reviewed by Simon Hausmann.
Partial WINSCW build fix.
Add parentheses around the function pointer declaration, similar to the
second hunk in r48825.
* loader/CachedResourceHandle.h:
2009-10-02 Adam Barth <abarth@webkit.org>
Unreviewed attempted build fix by Xcode magic.
......@@ -38,7 +38,8 @@ namespace WebCore {
bool operator!() const { return !m_resource; }
// This conversion operator allows implicit conversion to bool but not to other integer types.
typedef CachedResource* CachedResourceHandleBase::*UnspecifiedBoolType;
// Parenthesis is needed for winscw compiler to resolve class qualifier in this case.
typedef CachedResource* (CachedResourceHandleBase::*UnspecifiedBoolType);
operator UnspecifiedBoolType() const { return m_resource ? &CachedResourceHandleBase::m_resource : 0; }
protected:
......
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