RESOLVED FIXED 114081
Remove remaining PLATFORM(CHROMIUM)-guarded code in WebCore
https://bugs.webkit.org/show_bug.cgi?id=114081
Summary Remove remaining PLATFORM(CHROMIUM)-guarded code in WebCore
Zan Dobersek
Reported 2013-04-06 00:34:32 PDT
Remove remaining PLATFORM(CHROMIUM)-guarded code in WebCore
Attachments
Patch (118.17 KB, patch)
2013-04-06 00:55 PDT, Zan Dobersek
no flags
Patch (118.17 KB, patch)
2013-04-06 02:06 PDT, Zan Dobersek
no flags
Patch (86.39 KB, patch)
2013-04-07 12:32 PDT, Zan Dobersek
no flags
Patch (85.75 KB, patch)
2013-04-07 13:39 PDT, Zan Dobersek
no flags
Zan Dobersek
Comment 1 2013-04-06 00:55:34 PDT
EFL EWS Bot
Comment 2 2013-04-06 01:09:03 PDT
Early Warning System Bot
Comment 3 2013-04-06 01:10:19 PDT
Early Warning System Bot
Comment 4 2013-04-06 01:10:46 PDT
Build Bot
Comment 5 2013-04-06 01:40:35 PDT
Build Bot
Comment 6 2013-04-06 01:48:49 PDT
Zan Dobersek
Comment 7 2013-04-06 02:06:36 PDT
Ryosuke Niwa
Comment 8 2013-04-06 02:07:10 PDT
Comment on attachment 196719 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=196719&action=review > Source/WebCore/platform/SecureTextInput.cpp:33 > void enableSecureTextInput() I think we should just get rid of these functions. > Source/WebCore/platform/graphics/FloatPoint.h:158 > +#if PLATFORM(MA) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) Typo: MA. > Source/WebCore/platform/graphics/GlyphBuffer.h:42 > +#if OS(DARWIN) && (PLATFORM(WX) Typo: Unmatched ( > Source/WebCore/platform/leveldb/LevelDBDatabase.cpp:140 > static void histogramFreeSpace(const char* type, String fileName) We should probably get rid of this function altogether.
Early Warning System Bot
Comment 9 2013-04-06 02:25:49 PDT
Early Warning System Bot
Comment 10 2013-04-06 02:29:59 PDT
EFL EWS Bot
Comment 11 2013-04-06 03:04:52 PDT
Build Bot
Comment 12 2013-04-06 03:08:42 PDT
Build Bot
Comment 13 2013-04-06 03:27:58 PDT
Zan Dobersek
Comment 14 2013-04-06 09:17:13 PDT
Comment on attachment 196719 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=196719&action=review >> Source/WebCore/platform/SecureTextInput.cpp:33 >> void enableSecureTextInput() > > I think we should just get rid of these functions. These are called in FrameSelection::setUseSecureKeyboardEntry[1]. Should I remove all the code paths that lead to that method as well? I'd be more comfortable doing that in a separate patch, though. [1] http://trac.webkit.org/browser/trunk/Source/WebCore/editing/FrameSelection.cpp#L1730
Ryosuke Niwa
Comment 15 2013-04-06 18:23:03 PDT
(In reply to comment #14) > (From update of attachment 196719 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=196719&action=review > > >> Source/WebCore/platform/SecureTextInput.cpp:33 > >> void enableSecureTextInput() > > > > I think we should just get rid of these functions. > > These are called in FrameSelection::setUseSecureKeyboardEntry[1]. Should I remove all the code paths that lead to that method as well? I'd be more comfortable doing that in a separate patch, though. Can we add a FIXME or something? Or maybe leave that PLATFORM(CHROMIUm) alone and delete in a follow up patch. I'm concerned that we'll forget about them and never get to clean them up.
Zan Dobersek
Comment 16 2013-04-07 12:32:04 PDT
Build Bot
Comment 17 2013-04-07 13:29:08 PDT
Zan Dobersek
Comment 18 2013-04-07 13:39:31 PDT
Benjamin Poulain
Comment 19 2013-04-07 14:11:31 PDT
Comment on attachment 196812 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=196812&action=review Brilliant! > Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp:181 > +#if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) I wonder if that should be a #if !PLATFORM(QT) (in a separate patch). > Source/WebCore/platform/leveldb/LevelDBDatabase.cpp:38 > #include "Logging.h" > +#include "NotImplemented.h" > #include <helpers/memenv/memenv.h> ??
Benjamin Poulain
Comment 20 2013-04-07 17:51:03 PDT
Comment on attachment 196812 [details] Patch Clearing flags on attachment: 196812 Committed r147888: <http://trac.webkit.org/changeset/147888>
Benjamin Poulain
Comment 21 2013-04-07 17:51:09 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.