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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2349713003: IPC::MessageFilter::OnFilterAdded: IPC::Sender -> IPC::Channel (Closed)
Patch Set: . Created 4 years, 3 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 | « content/common/font_cache_dispatcher_win.cc ('k') | content/public/browser/browser_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 9d76301fb9a725ebfce565dfb6910cd0bd425621..7376d44bc7af55cff8539aa3b62b1ab47051fca5 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -84,9 +84,9 @@ class GpuMemoryBufferMessageFilter : public IPC::MessageFilter {
sender_(nullptr) {}
// Overridden from IPC::MessageFilter:
- void OnFilterAdded(IPC::Sender* sender) override {
+ void OnFilterAdded(IPC::Channel* channel) override {
DCHECK(!sender_);
- sender_ = sender;
+ sender_ = channel;
}
void OnFilterRemoved() override {
DCHECK(sender_);
« no previous file with comments | « content/common/font_cache_dispatcher_win.cc ('k') | content/public/browser/browser_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698