[GStreamer] Add missing <cmath> include
Created attachment 231990 [details] Patch
Attachment 231990 [details] did not pass style-queue: ERROR: Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.cpp:30: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 231992 [details] Patch
Comment on attachment 231990 [details] Patch It might be better to use wtf/MathExtras.h here.
Comment on attachment 231992 [details] Patch Attachment 231992 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5020357526290432 New failing tests: media/W3C/video/networkState/networkState_during_loadstart.html
Created attachment 231998 [details] Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-13 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Created attachment 232018 [details] Patch
(In reply to comment #4) > (From update of attachment 231990 [details]) > It might be better to use wtf/MathExtras.h here. Changed, thanks for the tip!
(In reply to comment #4) > (From update of attachment 231990 [details]) > It might be better to use wtf/MathExtras.h here. Well MathExtras.h unconditionally includes cmath and we don't use any of its functions. So not sure it's really worth
(In reply to comment #9) > (In reply to comment #4) > > (From update of attachment 231990 [details] [details]) > > It might be better to use wtf/MathExtras.h here. > > Well MathExtras.h unconditionally includes cmath and we don't use any of its functions. So not sure it's really worth If I recall correctly, it takes care of standardizing cmath across different platforms.
(In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #4) > > > (From update of attachment 231990 [details] [details] [details]) > > > It might be better to use wtf/MathExtras.h here. > > > > Well MathExtras.h unconditionally includes cmath and we don't use any of its functions. So not sure it's really worth > > If I recall correctly, it takes care of standardizing cmath across different platforms. I have checked this, it just includes <cmath> unconditionally, and for modf/modff it does not have any platform-dependant fixes. Anyway, I think it is better to include <MathExtras.h>, to avoid issues later on if GStreamerUtilitiers.cpp starts using functions for which there are fixes (and avoid subtle bugs).
Comment on attachment 232018 [details] Patch Clearing flags on attachment: 232018 Committed r169378: <http://trac.webkit.org/changeset/169378>
All reviewed patches have been landed. Closing bug.