diff options
Diffstat (limited to 'WebKit/android/WebCoreSupport')
-rw-r--r-- | WebKit/android/WebCoreSupport/WebCache.cpp | 7 | ||||
-rw-r--r-- | WebKit/android/WebCoreSupport/WebCache.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/WebKit/android/WebCoreSupport/WebCache.cpp b/WebKit/android/WebCoreSupport/WebCache.cpp index c7a6a1d..778d492 100644 --- a/WebKit/android/WebCoreSupport/WebCache.cpp +++ b/WebKit/android/WebCoreSupport/WebCache.cpp @@ -87,13 +87,6 @@ void WebCache::cleanup(bool isPrivateBrowsing) *instancePtr = 0; } -WebCache::~WebCache() -{ - // We currently leak the HostResolver object to avoid a crash. - // TODO: Fix this. See b/3243797 - m_hostResolver.leakPtr(); -} - WebCache::WebCache(bool isPrivateBrowsing) : m_doomAllEntriesCallback(this, &WebCache::doomAllEntries) , m_doneCallback(this, &WebCache::onClearDone) diff --git a/WebKit/android/WebCoreSupport/WebCache.h b/WebKit/android/WebCoreSupport/WebCache.h index 50ad03c..be6c968 100644 --- a/WebKit/android/WebCoreSupport/WebCache.h +++ b/WebKit/android/WebCoreSupport/WebCache.h @@ -39,7 +39,6 @@ class WebCache : public base::RefCountedThreadSafe<WebCache> { public: static WebCache* get(bool isPrivateBrowsing); - ~WebCache(); void clear(); static void cleanup(bool isPrivateBrowsing); net::HostResolver* hostResolver() { return m_hostResolver.get(); } |