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

Unified Diff: mojo/public/bindings/lib/message_queue.cc

Issue 65043004: Add better handle tracking, and optimize Connector::Accept. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update per review feedback Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/bindings/lib/message_queue.h ('k') | mojo/public/tests/bindings_connector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/lib/message_queue.cc
diff --git a/mojo/public/bindings/lib/message_queue.cc b/mojo/public/bindings/lib/message_queue.cc
index b5d4757b63d8645d8e73acbd7f4abfb01f7092f7..c1843ea5ee831ffa3a69e2e09324a1771fc67a65 100644
--- a/mojo/public/bindings/lib/message_queue.cc
+++ b/mojo/public/bindings/lib/message_queue.cc
@@ -23,7 +23,7 @@ bool MessageQueue::IsEmpty() const {
return queue_.empty();
}
-const Message* MessageQueue::Peek() const {
+Message* MessageQueue::Peek() {
assert(!queue_.empty());
return queue_.front();
}
« no previous file with comments | « mojo/public/bindings/lib/message_queue.h ('k') | mojo/public/tests/bindings_connector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698