Remove lame puts()s from WebPageProxy
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Nov 2010 12:39:38 +0000 (12:39 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Nov 2010 12:39:38 +0000 (12:39 +0000)
Rubber-stamped by Anders Carlsson.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::loadURL):
(WebKit::WebPageProxy::loadURLRequest):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@71327 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit2/ChangeLog
WebKit2/UIProcess/WebPageProxy.cpp

index 148478f..b95676d 100644 (file)
@@ -1,3 +1,13 @@
+2010-11-04  Adam Roben  <aroben@apple.com>
+
+        Remove lame puts()s from WebPageProxy
+
+        Rubber-stamped by Anders Carlsson.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::loadURL):
+        (WebKit::WebPageProxy::loadURLRequest):
+
 2010-11-03  Alice Liu  <alice.liu@apple.com>
 
         Fix clang++ build 
index 23a6489..4549803 100644 (file)
@@ -251,20 +251,16 @@ bool WebPageProxy::tryClose()
 
 void WebPageProxy::loadURL(const String& url)
 {
-    if (!isValid()) {
-        puts("loadURL called with a dead WebProcess");
+    if (!isValid())
         relaunch();
-    }
 
     process()->send(Messages::WebPage::LoadURL(url), m_pageID);
 }
 
 void WebPageProxy::loadURLRequest(WebURLRequest* urlRequest)
 {
-    if (!isValid()) {
-        puts("loadURLRequest called with a dead WebProcess");
+    if (!isValid())
         relaunch();
-    }
 
     process()->send(Messages::WebPage::LoadURLRequest(urlRequest->resourceRequest()), m_pageID);
 }