RESOLVED FIXED 23573
Make PlatformWidget an intptr_t on Chromium
https://bugs.webkit.org/show_bug.cgi?id=23573
Summary Make PlatformWidget an intptr_t on Chromium
Adam Langley
Reported 2009-01-27 12:29:49 PST
2009-01-27 Adam Langley <agl@google.com> Reviewed by NOBODY (OOPS!). Make PlatformWidget on chromium an intptr_t * platform/chromium/PlatformWidget.h:
Attachments
Proposed patch (1.21 KB, patch)
2009-01-27 12:30 PST, Adam Langley
sam: review-
proposed patch (1.21 KB, patch)
2009-01-27 15:30 PST, Adam Langley
sam: review+
Adam Langley
Comment 1 2009-01-27 12:30:50 PST
Created attachment 27081 [details] Proposed patch
Sam Weinig
Comment 2 2009-01-27 14:38:24 PST
Comment on attachment 27081 [details] Proposed patch +#include <wtf/Assertions.h> // for intptr_t This doesn't make a lot of sense. Please use the correct system header.
Adam Langley
Comment 3 2009-01-27 14:43:29 PST
The correct system header (stdint.h) doesn't exist on Windows. Assertions.h contains this code: #if COMPILER(MSVC) #include <stddef.h> #else #include <inttypes.h> #endif Which I can duplicate if you wish, but it seemed better to keep the #ifdefs down.
Alexey Proskuryakov
Comment 4 2009-01-27 14:51:46 PST
I think that it could go in StdLibExtras.h (which in fact includes Assertions.h now).
Adam Langley
Comment 5 2009-01-27 15:30:54 PST
Created attachment 27089 [details] proposed patch
Adam Langley
Comment 6 2009-01-27 15:31:11 PST
Updated to use StdLibExtras.h
Sam Weinig
Comment 7 2009-01-27 17:20:29 PST
Comment on attachment 27089 [details] proposed patch > @@ -1,3 +1,11 @@ > +2009-01-27 Adam Langley <agl@google.com> > + > + Reviewed by NOBODY (OOPS!). > + > + Make PlatformWidget on chromium an intptr_t This should include a why, not just a what.
Darin Fisher (:fishd, Google)
Comment 8 2009-01-28 10:52:32 PST
Note You need to log in before you can comment on or make changes to this bug.