Changeset 246917 in webkit


Ignore:
Timestamp:
Jun 27, 2019 6:49:29 PM (5 years ago)
Author:
Basuke Suzuki
Message:

Fix build error on WebCore when disabling ENABLE_INDEXED_DATABASE.

https://bugs.webkit.org/show_bug.cgi?id=199286

Unreviewed build fix.

  • testing/Internals.cpp: Make method conditional.
  • testing/Internals.h: Ditto.
  • testing/Internals.idl: Ditto.
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r246913 r246917  
     12019-06-27  Basuke Suzuki  <Basuke.Suzuki@sony.com>
     2
     3         Fix build error on WebCore when disabling ENABLE_INDEXED_DATABASE.
     4        https://bugs.webkit.org/show_bug.cgi?id=199286
     5
     6         Unreviewed build fix.
     7
     8         * testing/Internals.cpp: Make method conditional.
     9         * testing/Internals.h: Ditto.
     10         * testing/Internals.idl: Ditto.
     11
    1122019-06-27  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/Source/WebCore/testing/Internals.cpp

    r246695 r246917  
    9898#include "HistoryItem.h"
    9999#include "HitTestResult.h"
    100 #include "IDBRequest.h"
    101 #include "IDBTransaction.h"
    102100#include "InspectorClient.h"
    103101#include "InspectorController.h"
     
    274272#endif
    275273
     274#if ENABLE(INDEXED_DATABASE)
     275#include "IDBRequest.h"
     276#include "IDBTransaction.h"
     277#endif
     278
    276279#if USE(QUICK_LOOK)
    277280#include "MockPreviewLoaderClient.h"
     
    24102413}
    24112414
     2415#if ENABLE(INDEXED_DATABASE)
    24122416unsigned Internals::numberOfIDBTransactions() const
    24132417{
    24142418    return IDBTransaction::numberOfIDBTransactions;
    24152419}
     2420#endif
    24162421
    24172422unsigned Internals::numberOfLiveNodes() const
  • trunk/Source/WebCore/testing/Internals.h

    r246695 r246917  
    389389    ExceptionOr<void> insertUserCSS(const String&) const;
    390390
     391#if ENABLE(INDEXED_DATABASE)
    391392    unsigned numberOfIDBTransactions() const;
     393#endif
    392394
    393395    unsigned numberOfLiveNodes() const;
  • trunk/Source/WebCore/testing/Internals.idl

    r246695 r246917  
    424424    void endSimulatedMemoryPressure();
    425425
    426     unsigned long numberOfIDBTransactions();
     426    [Conditional=INDEXED_DATABASE] unsigned long numberOfIDBTransactions();
    427427
    428428    unsigned long numberOfLiveNodes();
Note: See TracChangeset for help on using the changeset viewer.