diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 19:26:54 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 19:26:54 +0000 |
commit | ae9856b1dc7808dbd266def84a889644b5d049ca (patch) | |
tree | f4f6d336bbd2f10a89fb7aebba8b8bc0ffe15f6a /chrome_frame/test/http_server.cc | |
parent | c80a1eb94890292fed49ba9d73b7667065ff2622 (diff) | |
download | chromium_src-ae9856b1dc7808dbd266def84a889644b5d049ca.zip chromium_src-ae9856b1dc7808dbd266def84a889644b5d049ca.tar.gz chromium_src-ae9856b1dc7808dbd266def84a889644b5d049ca.tar.bz2 |
Fix a dumb error introduced earlier. We need to call Stop only when the wait on the python server
returns an error
TBR=amit
Review URL: http://codereview.chromium.org/3162028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56901 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/http_server.cc')
-rw-r--r-- | chrome_frame/test/http_server.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome_frame/test/http_server.cc b/chrome_frame/test/http_server.cc index 5f0fc8b..496e1ba 100644 --- a/chrome_frame/test/http_server.cc +++ b/chrome_frame/test/http_server.cc @@ -67,7 +67,6 @@ bool ChromeFrameHTTPServer::WaitToFinish(int milliseconds) { bool ret = test_server_.WaitToFinish(milliseconds); if (!ret) { LOG(ERROR) << "WaitToFinish failed with error:" << ::GetLastError(); - } else { ret = test_server_.Stop(); } return ret; |