Changeset 140099 in webkit


Ignore:
Timestamp:
Jan 17, 2013 8:03:36 PM (11 years ago)
Author:
Martin Robinson
Message:

IndexedDB: Conditionalize usage of env_idb.h to fix build for non-Chromium ports
https://bugs.webkit.org/show_bug.cgi?id=107182

No new tests. This is a build fix.

  • platform/leveldb/LevelDBDatabase.cpp: Use the default environment for non-Chromium

ports instead of the Chromium-specific one provided by env_idb.h.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140098 r140099  
     12013-01-17  Martin Robinson  <mrobinson@igalia.com>
     2
     3        2013-01-17  Martin Robinson  <mrobinson@igalia.com>
     4
     5        IndexedDB: Conditionalize usage of env_idb.h to fix build for non-Chromium ports
     6        https://bugs.webkit.org/show_bug.cgi?id=107182
     7
     8        No new tests. This is a build fix.
     9
     10        * platform/leveldb/LevelDBDatabase.cpp: Use the default environment for non-Chromium
     11        ports instead of the Chromium-specific one provided by env_idb.h.
     12
    1132013-01-17  Rik Cabanier  <cabanier@adobe.com>
    214
  • trunk/Source/WebCore/platform/leveldb/LevelDBDatabase.cpp

    r139556 r140099  
    3434#include "LevelDBWriteBatch.h"
    3535#include "Logging.h"
    36 #include <env_idb.h>
    3736#include <helpers/memenv/memenv.h>
    3837#include <leveldb/comparator.h>
     
    4544#include <wtf/text/WTFString.h>
    4645
     46#if PLATFORM(CHROMIUM)
     47#include <env_idb.h>
     48#endif
     49
     50#if !PLATFORM(CHROMIUM)
     51namespace leveldb {
     52
     53static Env* IDBEnv()
     54{
     55    return leveldb::Env::Default();
     56}
     57
     58}
     59#endif
     60
    4761namespace WebCore {
    4862
Note: See TracChangeset for help on using the changeset viewer.