summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/simple_socket_stream_bridge.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/simple_socket_stream_bridge.cc')
-rw-r--r--webkit/tools/test_shell/simple_socket_stream_bridge.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/simple_socket_stream_bridge.cc b/webkit/tools/test_shell/simple_socket_stream_bridge.cc
index 85bdc06..50723f0 100644
--- a/webkit/tools/test_shell/simple_socket_stream_bridge.cc
+++ b/webkit/tools/test_shell/simple_socket_stream_bridge.cc
@@ -25,7 +25,7 @@ const int kNoSocketId = 0;
namespace {
-MessageLoop* g_io_thread;
+base::MessageLoop* g_io_thread;
net::URLRequestContext* g_request_context;
class WebSocketStreamHandleBridgeImpl
@@ -231,7 +231,7 @@ void WebSocketStreamHandleBridgeImpl::DoOnClose() {
void WebSocketStreamHandleBridgeImpl::DoOnError(
int error_code, const char* error_msg) {
- DCHECK(MessageLoop::current() == message_loop_);
+ DCHECK(base::MessageLoop::current() == message_loop_);
base::subtle::NoBarrier_AtomicIncrement(&num_pending_tasks_, -1);
if (delegate_)
delegate_->DidFail(handle_, error_code, ASCIIToUTF16(error_msg));