diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-22 17:58:10 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-22 17:58:10 +0000 |
commit | 305153009da34372c4125fb796ae32103cb850a2 (patch) | |
tree | 5b1a19826c78decff77b63fc92bd5ab22a898ccb | |
parent | 4a175d08d075302ea01a6da683a5d969b9e5fba5 (diff) | |
download | chromium_src-305153009da34372c4125fb796ae32103cb850a2.zip chromium_src-305153009da34372c4125fb796ae32103cb850a2.tar.gz chromium_src-305153009da34372c4125fb796ae32103cb850a2.tar.bz2 |
Fix Linux build with a null port hack.
Review URL: http://codereview.chromium.org/7873
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3744 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/port/platform/chromium/DragImageRef.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/port/platform/chromium/DragImageRef.h b/webkit/port/platform/chromium/DragImageRef.h index b44a704..d2e603f 100644 --- a/webkit/port/platform/chromium/DragImageRef.h +++ b/webkit/port/platform/chromium/DragImageRef.h @@ -35,7 +35,7 @@ #if defined(OS_WIN) typedef struct HBITMAP__* HBITMAP; #elif defined(OS_MACOSX) -#if __OBJC__ +#if __OBJC__ @class NSImage; #else class NSImage; @@ -48,6 +48,9 @@ namespace WebCore { typedef HBITMAP DragImageRef; #elif defined(OS_MACOSX) typedef NSImage* DragImageRef; +#else +// TODO(port): remove null port. +typedef void* DragImageRef; #endif } |