RESOLVED FIXED146973
Factor rect shrink-wrapping code out of RenderThemeMac for future reuse
https://bugs.webkit.org/show_bug.cgi?id=146973
Summary Factor rect shrink-wrapping code out of RenderThemeMac for future reuse
Tim Horton
Reported 2015-07-15 13:35:37 PDT
Factor rect shrink-wrapping code out of RenderThemeMac for future reuse
Attachments
Patch (76.84 KB, patch)
2015-07-15 13:36 PDT, Tim Horton
andersca: review+
Tim Horton
Comment 1 2015-07-15 13:36:43 PDT
WebKit Commit Bot
Comment 2 2015-07-15 13:38:21 PDT
Attachment 256855 [details] did not pass style-queue: ERROR: Source/WebCore/platform/graphics/PathUtilities.cpp:172: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebCore/platform/graphics/PathUtilities.cpp:214: More than one command on the same line [whitespace/newline] [4] Total errors found: 2 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Anders Carlsson
Comment 3 2015-07-15 13:40:38 PDT
Comment on attachment 256855 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256855&action=review > Source/WebCore/html/canvas/DOMPath.cpp:35 > + No newline. > Source/WebCore/platform/graphics/PathUtilities.cpp:205 > + Vector<FloatRect> soloRects = rects; WTF::move.
Tim Horton
Comment 4 2015-07-15 13:44:58 PDT
Comment on attachment 256855 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256855&action=review >> Source/WebCore/platform/graphics/PathUtilities.cpp:205 >> + Vector<FloatRect> soloRects = rects; > > WTF::move. I don't think so? Making a copy to remove all the non-solo rects from while we run through the vector below.
Tim Horton
Comment 5 2015-07-15 14:20:55 PDT
Mark Lam
Comment 6 2015-07-16 00:43:03 PDT
Looks like this broke the Windows build. See https://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/71566. c:\cygwin\home\buildbot\slave\win-release\build\source\webcore\html\canvas\DOMPath.h(41): error C2487: '{dtor}' : member of dll interface class may not be declared with dll interface (..\html\canvas\CanvasRenderingContext2D.cpp) [C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\WebCore.vcxproj\WebCore.vcxproj]
Tim Horton
Comment 7 2015-07-16 01:04:00 PDT
(In reply to comment #6) > Looks like this broke the Windows build. See > https://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/ > 71566. > > c:\cygwin\home\buildbot\slave\win- > release\build\source\webcore\html\canvas\DOMPath.h(41): error C2487: > '{dtor}' : member of dll interface class may not be declared with dll > interface (..\html\canvas\CanvasRenderingContext2D.cpp) > [C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\WebCore. > vcxproj\WebCore.vcxproj] Didn't bfulgham fix this in http://trac.webkit.org/changeset/186875?
Mark Lam
Comment 8 2015-07-16 01:08:36 PDT
(In reply to comment #7) > Didn't bfulgham fix this in http://trac.webkit.org/changeset/186875? You are correct. The present build failure is due to something else. Sorry for the noise.
Note You need to log in before you can comment on or make changes to this bug.