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

Unified Diff: mojo/public/cpp/system/message.cc

Issue 1932083002: Mojo: Use new message APIs to reduce copying (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/system/message.h ('k') | mojo/public/cpp/system/message_pipe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/system/message.cc
diff --git a/ui/gl/gl_image.cc b/mojo/public/cpp/system/message.cc
similarity index 57%
copy from ui/gl/gl_image.cc
copy to mojo/public/cpp/system/message.cc
index b74aa83280aac15363d7da4828b83e84bbe6667c..09d8d46e6dd15407bd123489ab8bdacdfef381c6 100644
--- a/ui/gl/gl_image.cc
+++ b/mojo/public/cpp/system/message.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/gl/gl_image.h"
+#include "mojo/public/cpp/system/message.h"
-namespace gl {
+namespace mojo {
+
+ScopedMessageHandle::~ScopedMessageHandle() {
-bool GLImage::EmulatingRGB() const {
- return false;
}
-} // namespace gl
+} // namespace mojo
« no previous file with comments | « mojo/public/cpp/system/message.h ('k') | mojo/public/cpp/system/message_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698