Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1016)

Side by Side Diff: content/renderer/gpu/transport_texture_service.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/gpu/transport_texture_service.h" 5 #include "content/renderer/gpu/transport_texture_service.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util.h"
8 #include "content/common/child_process.h" 8 #include "content/common/child_process.h"
9 #include "content/common/gpu/gpu_messages.h" 9 #include "content/common/gpu/gpu_messages.h"
10 #include "content/renderer/gpu/transport_texture_host.h" 10 #include "content/renderer/gpu/transport_texture_host.h"
11 11
12 TransportTextureService::TransportTextureService() 12 TransportTextureService::TransportTextureService()
13 : channel_(NULL), 13 : channel_(NULL),
14 next_host_id_(1) { 14 next_host_id_(1) {
15 } 15 }
16 16
17 TransportTextureService::~TransportTextureService() { 17 TransportTextureService::~TransportTextureService() {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 void TransportTextureService::SendInternal(IPC::Message* msg) { 120 void TransportTextureService::SendInternal(IPC::Message* msg) {
121 DCHECK_EQ(ChildProcess::current()->io_message_loop(), 121 DCHECK_EQ(ChildProcess::current()->io_message_loop(),
122 MessageLoop::current()); 122 MessageLoop::current());
123 123
124 if (channel_) 124 if (channel_)
125 channel_->Send(msg); 125 channel_->Send(msg);
126 else 126 else
127 pending_messages_.push_back(msg); 127 pending_messages_.push_back(msg);
128 } 128 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698