Title: [137819] trunk/Source/WebKit2
Revision
137819
Author
[email protected]
Date
2012-12-15 16:13:51 -0800 (Sat, 15 Dec 2012)

Log Message

Fix the build.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::registerSchemeForCustomProtocol):
(WebKit::WebContext::unregisterSchemeForCustomProtocol):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (137818 => 137819)


--- trunk/Source/WebKit2/ChangeLog	2012-12-16 00:03:27 UTC (rev 137818)
+++ trunk/Source/WebKit2/ChangeLog	2012-12-16 00:13:51 UTC (rev 137819)
@@ -1,5 +1,13 @@
 2012-12-15  Andy Estes  <[email protected]>
 
+        Fix the build.
+
+        * UIProcess/WebContext.cpp:
+        (WebKit::WebContext::registerSchemeForCustomProtocol):
+        (WebKit::WebContext::unregisterSchemeForCustomProtocol):
+
+2012-12-15  Andy Estes  <[email protected]>
+
         [WebKit2] Register schemes with the network process if it is being used
         https://bugs.webkit.org/show_bug.cgi?id=105113
 

Modified: trunk/Source/WebKit2/UIProcess/WebContext.cpp (137818 => 137819)


--- trunk/Source/WebKit2/UIProcess/WebContext.cpp	2012-12-16 00:03:27 UTC (rev 137818)
+++ trunk/Source/WebKit2/UIProcess/WebContext.cpp	2012-12-16 00:13:51 UTC (rev 137819)
@@ -1117,8 +1117,8 @@
 void WebContext::registerSchemeForCustomProtocol(const WTF::String& scheme)
 {
 #if ENABLE(NETWORK_PROCESS)
-    if (m_usesNetworkProcess) {
-        NetworkProcessManager::shared().process()->send(Messages::NetworkProcess::RegisterSchemeForCustomProtocol(scheme), 0);
+    if (m_usesNetworkProcess && networkProcess()) {
+        networkProcess()->send(Messages::NetworkProcess::RegisterSchemeForCustomProtocol(scheme), 0);
         return;
     }
 #endif
@@ -1128,8 +1128,8 @@
 void WebContext::unregisterSchemeForCustomProtocol(const WTF::String& scheme)
 {
 #if ENABLE(NETWORK_PROCESS)
-    if (m_usesNetworkProcess) {
-        NetworkProcessManager::shared().process()->send(Messages::NetworkProcess::UnregisterSchemeForCustomProtocol(scheme), 0);
+    if (m_usesNetworkProcess && networkProcess()) {
+        networkProcess()->send(Messages::NetworkProcess::UnregisterSchemeForCustomProtocol(scheme), 0);
         return;
     }
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to