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

Unified Diff: ui/ozone/public/ui_thread_gpu.cc

Issue 872473002: [Ozone] Initialize the message filter from the dummy channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/ui_thread_gpu.cc
diff --git a/ui/ozone/public/ui_thread_gpu.cc b/ui/ozone/public/ui_thread_gpu.cc
index ccc98495fc40c6fc4aa83939b47e102f63e75c6f..e64e13ccca18284c6ff0c446dd309d424ee2bab5 100644
--- a/ui/ozone/public/ui_thread_gpu.cc
+++ b/ui/ozone/public/ui_thread_gpu.cc
@@ -8,6 +8,7 @@
#include "ipc/ipc_listener.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_sender.h"
+#include "ipc/message_filter.h"
#include "ui/ozone/public/gpu_platform_support.h"
#include "ui/ozone/public/gpu_platform_support_host.h"
#include "ui/ozone/public/ozone_platform.h"
@@ -29,6 +30,11 @@ class FakeGpuProcess : public IPC::Sender {
task_runner_ = base::ThreadTaskRunnerHandle::Get();
ui::OzonePlatform::GetInstance()
->GetGpuPlatformSupport()
+ ->GetMessageFilter()
+ ->OnFilterAdded(this);
+
+ ui::OzonePlatform::GetInstance()
+ ->GetGpuPlatformSupport()
->OnChannelEstablished(this);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698