-
beidson@apple.com authored
<rdar://problem/15322318> and https://bugs.webkit.org/show_bug.cgi?id=123375 Reviewed by Beth Dakin. * UIProcess/WebContext.cpp: (WebKit::WebContext::willStartUsingPrivateBrowsing): Call setPrivateBrowsingEnabled(true) on each context. (WebKit::WebContext::willStopUsingPrivateBrowsing): Call setPrivateBrowsingEnabled(false) on each context. (WebKit::WebContext::setPrivateBrowsingEnabled): In addition to notifying other processes, notify WebIconDatabase. * UIProcess/WebContext.h: * UIProcess/WebIconDatabase.cpp: (WebKit::WebIconDatabase::setPrivateBrowsingEnabled): * UIProcess/WebIconDatabase.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8cc4c158