Changeset 140238 in webkit


Ignore:
Timestamp:
Jan 18, 2013 11:48:44 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Remove unnecessary PLATFORM() tests
https://bugs.webkit.org/show_bug.cgi?id=107360

Patch by Laszlo Gombos <l.gombos@samsung.com> on 2013-01-18
Reviewed by Eric Seidel.

PLATFORM(WIN), PLATFORM(CHROMIUM) and PLATFORM(QT) are mutually
exclusive. Remove redundant PLATFORM() tests based on this
invariant.

  • wtf/Platform.h:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r140236 r140238  
     12013-01-18  Laszlo Gombos  <l.gombos@samsung.com>
     2
     3        Remove unnecessary PLATFORM() tests
     4        https://bugs.webkit.org/show_bug.cgi?id=107360
     5
     6        Reviewed by Eric Seidel.
     7
     8        PLATFORM(WIN), PLATFORM(CHROMIUM) and PLATFORM(QT) are mutually
     9        exclusive. Remove redundant PLATFORM() tests based on this
     10        invariant.
     11
     12        * wtf/Platform.h:
     13
    1142013-01-18  Laszlo Gombos  <l.gombos@samsung.com>
    215
  • trunk/Source/WTF/wtf/Platform.h

    r140111 r140238  
    636636#endif
    637637
    638 #if PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(CHROMIUM) && !PLATFORM(WIN_CAIRO)
     638#if PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(WIN_CAIRO)
    639639#define WTF_USE_CFNETWORK 1
    640640#endif
     
    644644#endif
    645645
    646 #if PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(CHROMIUM) && !PLATFORM(QT)
     646#if PLATFORM(WIN) && !OS(WINCE)
    647647#define ENABLE_WEB_ARCHIVE 1
    648648#endif
    649649
    650 #if PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(CHROMIUM) && !PLATFORM(WIN_CAIRO) && !PLATFORM(QT)
     650#if PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(WIN_CAIRO)
    651651#define ENABLE_FULLSCREEN_API 1
    652652#endif
Note: See TracChangeset for help on using the changeset viewer.