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

Unified Diff: ui/aura/mus/gpu_service.cc

Issue 2464123003: Enabling Aura-Mus clients to submit frames to Mus. (Closed)
Patch Set: Created 4 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
Index: ui/aura/mus/gpu_service.cc
diff --git a/services/ui/public/cpp/gpu_service.cc b/ui/aura/mus/gpu_service.cc
similarity index 97%
copy from services/ui/public/cpp/gpu_service.cc
copy to ui/aura/mus/gpu_service.cc
index 3fb144944bcf16c57d38a87e20d2f8bcc5b393cf..078ded76315f10a067c1ac02f037aa98bdd67b77 100644
--- a/services/ui/public/cpp/gpu_service.cc
+++ b/ui/aura/mus/gpu_service.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "services/ui/public/cpp/gpu_service.h"
+#include "ui/aura/mus/gpu_service.h"
#include "base/command_line.h"
#include "base/memory/singleton.h"
@@ -12,10 +12,10 @@
#include "mojo/public/cpp/system/platform_handle.h"
#include "services/service_manager/public/cpp/connector.h"
#include "services/ui/common/switches.h"
-#include "services/ui/public/cpp/mojo_gpu_memory_buffer_manager.h"
#include "services/ui/public/interfaces/gpu_service.mojom.h"
+#include "ui/aura/mus/mojo_gpu_memory_buffer_manager.h"
-namespace ui {
+namespace aura {
GpuService::GpuService(service_manager::Connector* connector,
scoped_refptr<base::SingleThreadTaskRunner> task_runner)
@@ -152,4 +152,4 @@ std::unique_ptr<base::SharedMemory> GpuService::AllocateSharedMemory(
return base::MakeUnique<base::SharedMemory>(platform_handle, readonly);
}
-} // namespace ui
+} // namespace aura

Powered by Google App Engine
This is Rietveld 408576698