Changeset 64324 in webkit
- Timestamp:
- Jul 29, 2010 5:40:39 PM (14 years ago)
- Location:
- trunk/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit2/ChangeLog
r64317 r64324 1 2010-07-29 Brady Eidson <beidson@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Setting empty document schemes on the WKContext shouldn't start the WebProcess 6 <rdar://problem/8253734> and https://bugs.webkit.org/show_bug.cgi?id=43222 7 8 * UIProcess/WebContext.cpp: 9 (WebKit::WebContext::ensureWebProcess): 10 (WebKit::WebContext::registerURLSchemeAsEmptyDocument): 11 * UIProcess/WebContext.h: 12 1 13 2010-07-29 Brady Eidson <beidson@apple.com> 2 14 -
trunk/WebKit2/UIProcess/WebContext.cpp
r64317 r64324 107 107 108 108 m_process->send(WebProcessMessage::SetShouldTrackVisitedLinks, 0, CoreIPC::In(m_historyClient.shouldTrackVisitedLinks())); 109 110 for (HashSet<String>::iterator it = m_schemesToRegisterAsEmptyDocument.begin(), end = m_schemesToRegisterAsEmptyDocument.end(); it != end; ++it) 111 m_process->send(WebProcessMessage::RegisterURLSchemeAsEmptyDocument, 0, CoreIPC::In(*it)); 109 112 } 110 113 … … 229 232 void WebContext::registerURLSchemeAsEmptyDocument(const String& urlScheme) 230 233 { 231 ensureWebProcess(); 234 m_schemesToRegisterAsEmptyDocument.add(urlScheme); 235 236 if (!hasValidProcess()) 237 return; 232 238 233 239 m_process->send(WebProcessMessage::RegisterURLSchemeAsEmptyDocument, 0, CoreIPC::In(urlScheme)); -
trunk/WebKit2/UIProcess/WebContext.h
r64317 r64324 34 34 #include "WebProcessProxy.h" 35 35 #include <WebCore/PlatformString.h> 36 #include <WebCore/StringHash.h> 36 37 #include <wtf/Forward.h> 37 38 #include <wtf/HashSet.h> … … 119 120 120 121 PluginInfoStore m_pluginInfoStore; 122 123 HashSet<WebCore::String> m_schemesToRegisterAsEmptyDocument; 121 124 }; 122 125
Note: See TracChangeset
for help on using the changeset viewer.