Changeset 200036 in webkit


Ignore:
Timestamp:
Apr 25, 2016 11:38:20 AM (8 years ago)
Author:
peavo@outlook.com
Message:

[Win][IndexedDB] Fix build errors.
https://bugs.webkit.org/show_bug.cgi?id=156713

Reviewed by Alex Christensen.

Fix compile and link errors when building with IndexedDB enabled.

Source/WebCore:

  • Modules/indexeddb/IDBCursor.h:
  • Modules/indexeddb/IDBTransaction.cpp:
  • Modules/indexeddb/server/MemoryBackingStoreTransaction.h:
  • Modules/indexeddb/server/MemoryIDBBackingStore.h:
  • PlatformWin.cmake:
  • platform/win/FileSystemWin.cpp:

(WebCore::hardLinkOrCopyFile):

Source/WebKit:

  • PlatformWin.cmake:

Source/WebKit/win:

  • WebView.cpp:

(WebView::notifyPreferencesChanged):

  • storage: Added.
  • storage/WebDatabaseProvider.cpp: Added.

(WebDatabaseProvider::indexedDatabaseDirectoryPath):

Location:
trunk/Source
Files:
2 added
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r200032 r200036  
     12016-04-25  Per Arne Vollan  <peavo@outlook.com>
     2
     3        [Win][IndexedDB] Fix build errors.
     4        https://bugs.webkit.org/show_bug.cgi?id=156713
     5
     6        Reviewed by Alex Christensen.
     7
     8        Fix compile and link errors when building with IndexedDB enabled.
     9
     10        * Modules/indexeddb/IDBCursor.h:
     11        * Modules/indexeddb/IDBTransaction.cpp:
     12        * Modules/indexeddb/server/MemoryBackingStoreTransaction.h:
     13        * Modules/indexeddb/server/MemoryIDBBackingStore.h:
     14        * PlatformWin.cmake:
     15        * platform/win/FileSystemWin.cpp:
     16        (WebCore::hardLinkOrCopyFile):
     17
    1182016-04-25  Brady Eidson  <beidson@apple.com>
    219
  • trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h

    r199668 r200036  
    2929
    3030#include "ActiveDOMObject.h"
     31#include "DOMWrapperWorld.h"
    3132#include "IDBCursorInfo.h"
    3233#include <heap/Strong.h>
  • trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp

    r199730 r200036  
    3030
    3131#include "DOMError.h"
     32#include "DOMWindow.h"
    3233#include "Event.h"
    3334#include "EventQueue.h"
  • trunk/Source/WebCore/Modules/indexeddb/server/MemoryBackingStoreTransaction.h

    r194857 r200036  
    4747
    4848class MemoryBackingStoreTransaction {
    49     friend std::unique_ptr<MemoryBackingStoreTransaction> std::make_unique<MemoryBackingStoreTransaction>(WebCore::IDBServer::MemoryIDBBackingStore&, const WebCore::IDBTransactionInfo&);
    5049public:
    5150    static std::unique_ptr<MemoryBackingStoreTransaction> create(MemoryIDBBackingStore&, const IDBTransactionInfo&);
    5251
     52    MemoryBackingStoreTransaction(MemoryIDBBackingStore&, const IDBTransactionInfo&);
    5353    ~MemoryBackingStoreTransaction();
    5454
     
    7575
    7676private:
    77     MemoryBackingStoreTransaction(MemoryIDBBackingStore&, const IDBTransactionInfo&);
    78 
    7977    void finish();
    8078
  • trunk/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h

    r199250 r200036  
    4141
    4242class MemoryIDBBackingStore : public IDBBackingStore {
    43     friend std::unique_ptr<MemoryIDBBackingStore> std::make_unique<MemoryIDBBackingStore>(const WebCore::IDBDatabaseIdentifier&);
    4443public:
    4544    static std::unique_ptr<MemoryIDBBackingStore> create(const IDBDatabaseIdentifier&);
    4645   
     46    MemoryIDBBackingStore(const IDBDatabaseIdentifier&);
    4747    ~MemoryIDBBackingStore() final;
    4848
     
    8080
    8181private:
    82     MemoryIDBBackingStore(const IDBDatabaseIdentifier&);
    83 
    8482    RefPtr<MemoryObjectStore> takeObjectStoreByIdentifier(uint64_t identifier);
    8583
  • trunk/Source/WebCore/PlatformWin.cmake

    r199562 r200036  
    187187    Modules/geolocation
    188188    Modules/indexeddb
     189
     190    Modules/indexeddb/client
    189191    Modules/indexeddb/legacy
     192    Modules/indexeddb/server
    190193    Modules/indexeddb/shared
    191194    Modules/notifications
  • trunk/Source/WebCore/platform/win/FileSystemWin.cpp

    r182932 r200036  
    410410}
    411411
     412bool hardLinkOrCopyFile(const String& source, const String& destination)
     413{
     414    return !!::CopyFile(source.charactersWithNullTermination().data(), destination.charactersWithNullTermination().data(), TRUE);
     415}
     416
    412417bool unloadModule(PlatformModule module)
    413418{
  • trunk/Source/WebKit/ChangeLog

    r199908 r200036  
     12016-04-25  Per Arne Vollan  <peavo@outlook.com>
     2
     3        [Win][IndexedDB] Fix build errors.
     4        https://bugs.webkit.org/show_bug.cgi?id=156713
     5
     6        Reviewed by Alex Christensen.
     7
     8        Fix compile and link errors when building with IndexedDB enabled.
     9
     10        * PlatformWin.cmake:
     11
    1122016-04-22  Brent Fulgham  <bfulgham@apple.com>
    213
  • trunk/Source/WebKit/PlatformWin.cmake

    r199908 r200036  
    218218    win/plugins/PluginViewWin.cpp
    219219    win/plugins/npapi.cpp
     220
     221    win/storage/WebDatabaseProvider.cpp
    220222)
    221223
  • trunk/Source/WebKit/win/ChangeLog

    r199908 r200036  
     12016-04-25  Per Arne Vollan  <peavo@outlook.com>
     2
     3        [Win][IndexedDB] Fix build errors.
     4        https://bugs.webkit.org/show_bug.cgi?id=156713
     5
     6        Reviewed by Alex Christensen.
     7
     8        Fix compile and link errors when building with IndexedDB enabled.
     9
     10        * WebView.cpp:
     11        (WebView::notifyPreferencesChanged):
     12        * storage: Added.
     13        * storage/WebDatabaseProvider.cpp: Added.
     14        (WebDatabaseProvider::indexedDatabaseDirectoryPath):
     15
    1162016-04-22  Brent Fulgham  <bfulgham@apple.com>
    217
  • trunk/Source/WebKit/win/WebView.cpp

    r199836 r200036  
    50405040    RuntimeEnabledFeatures::sharedFeatures().setCSSRegionsEnabled(!!enabled);
    50415041
     5042#if ENABLE(INDEXED_DATABASE)
     5043    RuntimeEnabledFeatures::sharedFeatures().setWebkitIndexedDBEnabled(true);
     5044#endif
     5045
    50425046    hr = preferences->privateBrowsingEnabled(&enabled);
    50435047    if (FAILED(hr))
Note: See TracChangeset for help on using the changeset viewer.