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

Log Message

Clean up the previous build fix; access m_networkProcess directly.

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

Modified Paths

Diff

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


--- trunk/Source/WebKit2/ChangeLog	2012-12-16 00:13:51 UTC (rev 137819)
+++ trunk/Source/WebKit2/ChangeLog	2012-12-16 00:18:49 UTC (rev 137820)
@@ -1,5 +1,13 @@
 2012-12-15  Andy Estes  <[email protected]>
 
+        Clean up the previous build fix; access m_networkProcess directly.
+
+        * UIProcess/WebContext.cpp:
+        (WebKit::WebContext::registerSchemeForCustomProtocol):
+        (WebKit::WebContext::unregisterSchemeForCustomProtocol):
+
+2012-12-15  Andy Estes  <[email protected]>
+
         Fix the build.
 
         * UIProcess/WebContext.cpp:

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


--- trunk/Source/WebKit2/UIProcess/WebContext.cpp	2012-12-16 00:13:51 UTC (rev 137819)
+++ trunk/Source/WebKit2/UIProcess/WebContext.cpp	2012-12-16 00:18:49 UTC (rev 137820)
@@ -1117,8 +1117,8 @@
 void WebContext::registerSchemeForCustomProtocol(const WTF::String& scheme)
 {
 #if ENABLE(NETWORK_PROCESS)
-    if (m_usesNetworkProcess && networkProcess()) {
-        networkProcess()->send(Messages::NetworkProcess::RegisterSchemeForCustomProtocol(scheme), 0);
+    if (m_usesNetworkProcess && m_networkProcess) {
+        m_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 && networkProcess()) {
-        networkProcess()->send(Messages::NetworkProcess::UnregisterSchemeForCustomProtocol(scheme), 0);
+    if (m_usesNetworkProcess && m_networkProcess) {
+        m_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