summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/websharedworker_proxy.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-11 17:36:50 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-11 17:36:50 +0000
commit4a3dab23cadf0cbe68bd82c06fd970ae8b1d7e10 (patch)
tree588a0a6d8a51fc54a3951690cafb753ec6a75ae6 /chrome/renderer/websharedworker_proxy.cc
parent53976e824cf83d5151b8415b1a0f5c67ec97f7aa (diff)
downloadchromium_src-4a3dab23cadf0cbe68bd82c06fd970ae8b1d7e10.zip
chromium_src-4a3dab23cadf0cbe68bd82c06fd970ae8b1d7e10.tar.gz
chromium_src-4a3dab23cadf0cbe68bd82c06fd970ae8b1d7e10.tar.bz2
A large number of style nits in preparation for turning on automated cpplint.py.
Review URL: http://codereview.chromium.org/385023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31669 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/websharedworker_proxy.cc')
-rw-r--r--chrome/renderer/websharedworker_proxy.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/renderer/websharedworker_proxy.cc b/chrome/renderer/websharedworker_proxy.cc
index fcaa83b..5bcde88 100644
--- a/chrome/renderer/websharedworker_proxy.cc
+++ b/chrome/renderer/websharedworker_proxy.cc
@@ -50,10 +50,11 @@ void WebSharedWorkerProxy::connect(WebKit::WebMessagePortChannel* channel,
Send(new WorkerMsg_Connect(route_id_, message_port_id, MSG_ROUTING_NONE));
if (HasQueuedMessages()) {
m_connectListener = listener;
- } else
+ } else {
listener->connected();
// The listener may free this object, so do not access the object after
// this point.
+ }
}
void WebSharedWorkerProxy::OnMessageReceived(const IPC::Message& message) {