Skip to content
Permalink
Browse files
Removed some unused WebSQL trackers
https://bugs.webkit.org/show_bug.cgi?id=186026

Reviewed by Dan Bernstein.

* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::NetworkProcess):
* NetworkProcess/NetworkProcess.h:
* WebProcess/WebProcess.cpp:
(WebKit::m_nonVisibleProcessCleanupTimer):
(WebKit::m_webSQLiteDatabaseTracker): Deleted.
* WebProcess/WebProcess.h:


Canonical link: https://commits.webkit.org/201487@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
geoffreygaren committed May 29, 2018
1 parent 2db60e3 commit 77a991ae1781e0f964aeb34cc2586ad63d864835
Showing 5 changed files with 15 additions and 22 deletions.
@@ -1,3 +1,18 @@
2018-05-29 Geoffrey Garen <ggaren@apple.com>

Removed some unused WebSQL trackers
https://bugs.webkit.org/show_bug.cgi?id=186026

Reviewed by Dan Bernstein.

* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::NetworkProcess):
* NetworkProcess/NetworkProcess.h:
* WebProcess/WebProcess.cpp:
(WebKit::m_nonVisibleProcessCleanupTimer):
(WebKit::m_webSQLiteDatabaseTracker): Deleted.
* WebProcess/WebProcess.h:

2018-05-29 Per Arne Vollan <pvollan@apple.com>

Follow-up fixes after r228907.
@@ -114,9 +114,6 @@ NetworkProcess::NetworkProcess()
#if PLATFORM(COCOA)
, m_clearCacheDispatchGroup(0)
#endif
#if PLATFORM(IOS)
, m_webSQLiteDatabaseTracker(*this)
#endif
{
NetworkProcessPlatformStrategies::initialize();

@@ -41,10 +41,6 @@
#include <wtf/RetainPtr.h>
#include <wtf/WeakPtr.h>

#if PLATFORM(IOS)
#include "WebSQLiteDatabaseTracker.h"
#endif

namespace PAL {
class SessionID;
}
@@ -295,10 +291,6 @@ class NetworkProcess : public ChildProcess, private DownloadManager::Client {
dispatch_group_t m_clearCacheDispatchGroup;
#endif

#if PLATFORM(IOS)
WebSQLiteDatabaseTracker m_webSQLiteDatabaseTracker;
#endif

#if ENABLE(CONTENT_EXTENSIONS)
NetworkContentRuleListManager m_NetworkContentRuleListManager;
#endif
@@ -176,9 +176,6 @@ WebProcess::WebProcess()
, m_pluginProcessConnectionManager(PluginProcessConnectionManager::create())
#endif
, m_nonVisibleProcessCleanupTimer(*this, &WebProcess::nonVisibleProcessCleanupTimerFired)
#if PLATFORM(IOS)
, m_webSQLiteDatabaseTracker(*this)
#endif
{
// Initialize our platform strategies.
WebPlatformStrategies::initialize();
@@ -52,10 +52,6 @@
#include <wtf/MachSendRight.h>
#endif

#if PLATFORM(IOS)
#include "WebSQLiteDatabaseTracker.h"
#endif

namespace API {
class Object;
}
@@ -441,10 +437,6 @@ class WebProcess : public ChildProcess {

RefPtr<WebCore::ApplicationCacheStorage> m_applicationCacheStorage;

#if PLATFORM(IOS)
WebSQLiteDatabaseTracker m_webSQLiteDatabaseTracker;
#endif

enum PageMarkingLayersAsVolatileCounterType { };
using PageMarkingLayersAsVolatileCounter = RefCounter<PageMarkingLayersAsVolatileCounterType>;
std::unique_ptr<PageMarkingLayersAsVolatileCounter> m_pageMarkingLayersAsVolatileCounter;

0 comments on commit 77a991a

Please sign in to comment.