Skip to content
Permalink
Browse files
2011-04-11 Anders Carlsson <andersca@apple.com>
        Reviewed by Sam Weinig.

        Remove unused WebProcessProxy functions
        https://bugs.webkit.org/show_bug.cgi?id=58262

        * UIProcess/WebProcessProxy.cpp:
        * UIProcess/WebProcessProxy.h:


Canonical link: https://commits.webkit.org/73252@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@83486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Anders Carlsson committed Apr 11, 2011
1 parent 86b88af commit 03e3b630a23ec1d24e2d1171f72ff140008e1859
Showing 3 changed files with 11 additions and 22 deletions.
@@ -1,3 +1,13 @@
2011-04-11 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Remove unused WebProcessProxy functions
https://bugs.webkit.org/show_bug.cgi?id=58262

* UIProcess/WebProcessProxy.cpp:
* UIProcess/WebProcessProxy.h:

2011-04-11 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.
@@ -186,21 +186,6 @@ void WebProcessProxy::removeWebPage(uint64_t pageID)
m_pageMap.remove(pageID);
}

WebProcessProxy::pages_const_iterator WebProcessProxy::pages_begin()
{
return m_pageMap.begin().values();
}

WebProcessProxy::pages_const_iterator WebProcessProxy::pages_end()
{
return m_pageMap.end().values();
}

size_t WebProcessProxy::numberOfPages()
{
return m_pageMap.size();
}

WebBackForwardListItem* WebProcessProxy::webBackForwardItem(uint64_t itemID) const
{
return m_backForwardListItemMap.get(itemID).get();
@@ -53,8 +53,6 @@ struct WebNavigationDataStore;

class WebProcessProxy : public RefCounted<WebProcessProxy>, CoreIPC::Connection::Client, ResponsivenessTimer::Client, ProcessLauncher::Client, ThreadLauncher::Client {
public:
typedef HashMap<uint64_t, RefPtr<WebPageProxy> > WebPageProxyMap;
typedef WebPageProxyMap::const_iterator::Values pages_const_iterator;
typedef HashMap<uint64_t, RefPtr<WebFrameProxy> > WebFrameProxyMap;
typedef HashMap<uint64_t, RefPtr<WebBackForwardListItem> > WebBackForwardListItemMap;

@@ -82,10 +80,6 @@ class WebProcessProxy : public RefCounted<WebProcessProxy>, CoreIPC::Connection:
void addExistingWebPage(WebPageProxy*, uint64_t pageID);
void removeWebPage(uint64_t pageID);

pages_const_iterator pages_begin();
pages_const_iterator pages_end();
size_t numberOfPages();

WebBackForwardListItem* webBackForwardItem(uint64_t itemID) const;

ResponsivenessTimer* responsivenessTimer() { return &m_responsivenessTimer; }
@@ -160,7 +154,7 @@ class WebProcessProxy : public RefCounted<WebProcessProxy>, CoreIPC::Connection:

WebContext* m_context;

WebPageProxyMap m_pageMap;
HashMap<uint64_t, RefPtr<WebPageProxy> > m_pageMap;
WebFrameProxyMap m_frameMap;
WebBackForwardListItemMap m_backForwardListItemMap;
};

0 comments on commit 03e3b63

Please sign in to comment.