| Index: Source/WebCore/dom/Document.cpp
|
| diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp
|
| index 95020f4f7cd7008ce918095f803bfd25995aabf2..bb8fd6b12c120de08b3370af109c65d6dd5bc47c 100644
|
| --- a/Source/WebCore/dom/Document.cpp
|
| +++ b/Source/WebCore/dom/Document.cpp
|
| @@ -4059,23 +4059,6 @@ void Document::storageBlockingStateDidChange()
|
| securityOrigin()->setStorageBlockingPolicy(settings->storageBlockingPolicy());
|
| }
|
|
|
| -void Document::privateBrowsingStateDidChange()
|
| -{
|
| - HashSet<Element*>::iterator end = m_privateBrowsingStateChangedElements.end();
|
| - for (HashSet<Element*>::iterator it = m_privateBrowsingStateChangedElements.begin(); it != end; ++it)
|
| - (*it)->privateBrowsingStateDidChange();
|
| -}
|
| -
|
| -void Document::registerForPrivateBrowsingStateChangedCallbacks(Element* e)
|
| -{
|
| - m_privateBrowsingStateChangedElements.add(e);
|
| -}
|
| -
|
| -void Document::unregisterForPrivateBrowsingStateChangedCallbacks(Element* e)
|
| -{
|
| - m_privateBrowsingStateChangedElements.remove(e);
|
| -}
|
| -
|
| #if ENABLE(VIDEO_TRACK)
|
| void Document::registerForCaptionPreferencesChangedCallbacks(Element* e)
|
| {
|
| @@ -5870,7 +5853,6 @@ void Document::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
|
| info.addMember(m_iconURLs, "iconURLs");
|
| info.addMember(m_documentSuspensionCallbackElements, "documentSuspensionCallbackElements");
|
| info.addMember(m_mediaVolumeCallbackElements, "mediaVolumeCallbackElements");
|
| - info.addMember(m_privateBrowsingStateChangedElements, "privateBrowsingStateChangedElements");
|
| info.addMember(m_elementsByAccessKey, "elementsByAccessKey");
|
| info.addMember(m_eventQueue, "eventQueue");
|
| info.addMember(m_mediaCanStartListeners, "mediaCanStartListeners");
|
|
|