summaryrefslogtreecommitdiffstats
path: root/webkit/support/test_webmessageportchannel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/support/test_webmessageportchannel.cc')
-rw-r--r--webkit/support/test_webmessageportchannel.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/webkit/support/test_webmessageportchannel.cc b/webkit/support/test_webmessageportchannel.cc
index 8655fd3..50207f1 100644
--- a/webkit/support/test_webmessageportchannel.cc
+++ b/webkit/support/test_webmessageportchannel.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -41,9 +41,6 @@ TestWebMessagePortChannel::TestWebMessagePortChannel()
AddRef();
}
-TestWebMessagePortChannel::~TestWebMessagePortChannel() {
-}
-
void TestWebMessagePortChannel::setClient(WebMessagePortChannelClient* client) {
client_ = client;
}
@@ -82,6 +79,8 @@ bool TestWebMessagePortChannel::tryGetMessage(WebString* data,
return true;
}
+TestWebMessagePortChannel::~TestWebMessagePortChannel() {}
+
void TestWebMessagePortChannel::queueMessage(Message* message) {
bool was_empty = message_queue_.empty();
message_queue_.push(message);