RESOLVED FIXED 169665
[TexMap] Add missing class member initializations
https://bugs.webkit.org/show_bug.cgi?id=169665
Summary [TexMap] Add missing class member initializations
Zan Dobersek
Reported 2017-03-15 01:31:17 PDT
[TexMap] Add missing class member initializations
Attachments
Patch (3.95 KB, patch)
2017-03-15 01:33 PDT, Zan Dobersek
mcatanzaro: review+
Zan Dobersek
Comment 1 2017-03-15 01:33:11 PDT
Michael Catanzaro
Comment 2 2017-03-15 08:50:58 PDT
Comment on attachment 304489 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=304489&action=review > Source/WebCore/platform/graphics/texmap/BitmapTexturePool.h:62 > + double m_lastUsedTime { 0 }; So I know it doesn't matter... but that's an int. I like to write 0.0. > Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:235 > + double m_lastAnimationStartTime { 0 }; Ditto.
Zan Dobersek
Comment 3 2017-03-15 11:02:12 PDT
Konstantin Tokarev
Comment 4 2017-04-03 00:56:34 PDT
(In reply to Michael Catanzaro from comment #2) > Comment on attachment 304489 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=304489&action=review > > > Source/WebCore/platform/graphics/texmap/BitmapTexturePool.h:62 > > + double m_lastUsedTime { 0 }; > > So I know it doesn't matter... but that's an int. I like to write 0.0. Coding style says we should write "0" https://webkit.org/code-style-guidelines/#floating-point-literals > > > Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:235 > > + double m_lastAnimationStartTime { 0 }; > > Ditto.
Note You need to log in before you can comment on or make changes to this bug.