RESOLVED FIXED 116138
Introduce USE(WINGDI) for the Windows port
https://bugs.webkit.org/show_bug.cgi?id=116138
Summary Introduce USE(WINGDI) for the Windows port
Patrick R. Gansterer
Reported 2013-05-14 22:52:48 PDT
Introduce USE(WINGDI) for the Windows port
Attachments
Patch (12.77 KB, patch)
2013-05-14 22:53 PDT, Patrick R. Gansterer
no flags
Patch (12.73 KB, patch)
2013-05-14 23:20 PDT, Patrick R. Gansterer
no flags
Patch (12.73 KB, patch)
2013-05-14 23:30 PDT, Patrick R. Gansterer
no flags
Patrick R. Gansterer
Comment 1 2013-05-14 22:53:45 PDT
Patrick R. Gansterer
Comment 2 2013-05-14 23:20:11 PDT
WebKit Commit Bot
Comment 3 2013-05-14 23:21:40 PDT
Attachment 201795 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'ChangeLog', u'Source/WTF/ChangeLog', u'Source/WTF/wtf/Platform.h', u'Source/WebCore/ChangeLog', u'Source/WebCore/config.h', u'Source/WebCore/platform/graphics/BitmapImage.h', u'Source/WebCore/platform/graphics/FontPlatformData.h', u'Source/WebCore/platform/graphics/GlyphBuffer.h', u'Source/WebCore/platform/graphics/Gradient.h', u'Source/WebCore/platform/graphics/GraphicsContext.cpp', u'Source/WebCore/platform/graphics/GraphicsContext.h', u'Source/WebCore/platform/graphics/ImageBufferData.h', u'Source/WebCore/platform/graphics/NativeImagePtr.h', u'Source/WebCore/platform/graphics/Path.h', u'Source/WebCore/platform/graphics/Pattern.h', u'Source/WebCore/plugins/win/PluginViewWin.cpp', u'Source/cmake/OptionsWinCE.cmake']" exit_code: 1 Source/WebCore/config.h:36: Do not add platform specific code in WebCore outside of platform. [build/webcore_platform_layering_violation] [5] Total errors found: 1 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Benjamin Poulain
Comment 4 2013-05-14 23:27:51 PDT
Comment on attachment 201795 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=201795&action=review > ChangeLog:9 > + compile the GDI based Windwos port on WinNT too. Typo: Windwos
Patrick R. Gansterer
Comment 5 2013-05-14 23:30:12 PDT
WebKit Commit Bot
Comment 6 2013-05-14 23:32:34 PDT
Attachment 201796 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'ChangeLog', u'Source/WTF/ChangeLog', u'Source/WTF/wtf/Platform.h', u'Source/WebCore/ChangeLog', u'Source/WebCore/config.h', u'Source/WebCore/platform/graphics/BitmapImage.h', u'Source/WebCore/platform/graphics/FontPlatformData.h', u'Source/WebCore/platform/graphics/GlyphBuffer.h', u'Source/WebCore/platform/graphics/Gradient.h', u'Source/WebCore/platform/graphics/GraphicsContext.cpp', u'Source/WebCore/platform/graphics/GraphicsContext.h', u'Source/WebCore/platform/graphics/ImageBufferData.h', u'Source/WebCore/platform/graphics/NativeImagePtr.h', u'Source/WebCore/platform/graphics/Path.h', u'Source/WebCore/platform/graphics/Pattern.h', u'Source/WebCore/plugins/win/PluginViewWin.cpp', u'Source/cmake/OptionsWinCE.cmake']" exit_code: 1 Source/WebCore/config.h:36: Do not add platform specific code in WebCore outside of platform. [build/webcore_platform_layering_violation] [5] Total errors found: 1 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Brent Fulgham
Comment 7 2013-05-15 08:01:50 PDT
Comment on attachment 201796 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=201796&action=review >> Source/WebCore/config.h:36 >> +#if PLATFORM(WIN) && !USE(WINGDI) > > Do not add platform specific code in WebCore outside of platform. [build/webcore_platform_layering_violation] [5] Changing this to OS(WIN) might satisfy the style bot.
Patrick R. Gansterer
Comment 8 2013-05-15 10:39:44 PDT
Comment on attachment 201796 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=201796&action=review >>> Source/WebCore/config.h:36 >>> +#if PLATFORM(WIN) && !USE(WINGDI) >> >> Do not add platform specific code in WebCore outside of platform. [build/webcore_platform_layering_violation] [5] > > Changing this to OS(WIN) might satisfy the style bot. that would be wrong and out of scope of thid change
Patrick R. Gansterer
Comment 9 2013-05-20 10:56:20 PDT
ping?
Brent Fulgham
Comment 10 2013-06-14 15:43:55 PDT
Comment on attachment 201796 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=201796&action=review This looks fine to me. One nuance is that the WinCairo port does use GDI for some drawing routines. I would not want us to accidentally start guarding those routines (none of which are touched in this patch) with USE(WINGDI) because that would break the WinCairo build. >>>> Source/WebCore/config.h:36 >>>> +#if PLATFORM(WIN) && !USE(WINGDI) >>> >>> Do not add platform specific code in WebCore outside of platform. [build/webcore_platform_layering_violation] [5] >> >> Changing this to OS(WIN) might satisfy the style bot. > > that would be wrong and out of scope of thid change Oh -- right. And I see that it's actually complaining about the existing PLATFORM(WIN) guard, not the USE(WINGDI).
WebKit Commit Bot
Comment 11 2013-06-14 15:49:30 PDT
Comment on attachment 201796 [details] Patch Clearing flags on attachment: 201796 Committed r151610: <http://trac.webkit.org/changeset/151610>
WebKit Commit Bot
Comment 12 2013-06-14 15:49:33 PDT
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.