Changeset 208984 in webkit


Ignore:
Timestamp:
Nov 26, 2016 8:40:58 PM (7 years ago)
Author:
Csaba Osztrogonác
Message:

Fix build warnings in WebCore/Modules/indexeddb/server/IDBSerialization.cp
https://bugs.webkit.org/show_bug.cgi?id=165070

Reviewed by Brady Eidson.

  • Modules/indexeddb/server/IDBSerialization.cpp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r208983 r208984  
     12016-11-26  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Fix build warnings in WebCore/Modules/indexeddb/server/IDBSerialization.cp
     4        https://bugs.webkit.org/show_bug.cgi?id=165070
     5
     6        Reviewed by Brady Eidson.
     7
     8        * Modules/indexeddb/server/IDBSerialization.cpp:
     9
    1102016-11-26  Sam Weinig  <sam@webkit.org>
    211
  • trunk/Source/WebCore/Modules/indexeddb/server/IDBSerialization.cpp

    r208771 r208984  
    9797// This is the magic character that begins serialized PropertyLists, and tells us whether
    9898// the key we're looking at is an old-style key.
     99#if USE(CF)
    99100static const uint8_t LegacySerializedKeyVersion = 'b';
     101#endif
    100102
    101103// FIXME: Linux ports uses KeyedEncoderGlib for their IDBKeys.
     
    135137// FIXME: If the GLib magic character ends up being 0x00, we should consider changing
    136138// this 0x00 so we can support Glib keyed encoding, also.
     139#if USE(CF)
    137140static const uint8_t SIDBKeyVersion = 0x00;
    138141enum class SIDBKeyType : uint8_t {
     
    169172    RELEASE_ASSERT_NOT_REACHED();
    170173}
     174#endif
    171175
    172176#if CPU(BIG_ENDIAN) || CPU(MIDDLE_ENDIAN) || CPU(NEEDS_ALIGNED_ACCESS)
     
    207211#endif
    208212
     213#if USE(CF)
    209214static void writeDouble(Vector<char>& data, double d)
    210215{
     
    265270    }
    266271}
     272#endif
    267273
    268274RefPtr<SharedBuffer> serializeIDBKeyData(const IDBKeyData& key)
     
    282288}
    283289
     290#if USE(CF)
    284291static bool decodeKey(const uint8_t*& data, const uint8_t* end, IDBKeyData& result)
    285292{
     
    382389    }
    383390}
     391#endif
    384392
    385393bool deserializeIDBKeyData(const uint8_t* data, size_t size, IDBKeyData& result)
Note: See TracChangeset for help on using the changeset viewer.