RESOLVED FIXED 78341
[WIN] Add abstraction for HWND_MESSAGE
https://bugs.webkit.org/show_bug.cgi?id=78341
Summary [WIN] Add abstraction for HWND_MESSAGE
Patrick R. Gansterer
Reported 2012-02-10 02:40:16 PST
[WIN] Add abstraction for HWND_MESSAGE
Attachments
Patch (2.91 KB, patch)
2012-02-10 02:44 PST, Patrick R. Gansterer
no flags
Patch (2.24 KB, patch)
2012-02-13 08:38 PST, Patrick R. Gansterer
no flags
Patrick R. Gansterer
Comment 1 2012-02-10 02:44:44 PST
Adam Roben (:aroben)
Comment 2 2012-02-13 07:48:46 PST
Comment on attachment 126483 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126483&action=review > Source/WebCore/platform/win/WindowsExtras.h:36 > +#ifdef HWND_MESSAGE > +const HWND kHwndMessage = HWND_MESSAGE; > +#else > +const HWND kHwndMessage = 0; > +#endif Why not just do this? #ifndef HWND_MESSAGE const HWND HWND_MESSAGE = 0; #endif Then we could use HWND_MESSAGE everywhere.
Patrick R. Gansterer
Comment 3 2012-02-13 08:38:53 PST
WebKit Review Bot
Comment 4 2012-02-13 08:45:09 PST
Attachment 126777 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/win/WindowsExtras.h:33: HWND_MESSAGE is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 5 2012-02-13 11:54:51 PST
Comment on attachment 126777 [details] Patch Clearing flags on attachment: 126777 Committed r107592: <http://trac.webkit.org/changeset/107592>
WebKit Review Bot
Comment 6 2012-02-13 11:54:56 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.