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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references 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
Index: content/browser/gpu/gpu_process_host_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index a7c5b20bd8d8c2127622a58d2b07a9f2393802ce..c282a401908e594964c5b43c97e2ab85ec9eaf61 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -196,8 +196,6 @@ bool GpuProcessHostUIShim::OnControlMessageReceived(
OnGraphicsInfoCollected)
IPC_MESSAGE_HANDLER(GpuHostMsg_VideoMemoryUsageStats,
OnVideoMemoryUsageStatsReceived);
- IPC_MESSAGE_HANDLER(GpuHostMsg_AddSubscription, OnAddSubscription);
- IPC_MESSAGE_HANDLER(GpuHostMsg_RemoveSubscription, OnRemoveSubscription);
IPC_MESSAGE_UNHANDLED_ERROR()
IPC_END_MESSAGE_MAP()
@@ -278,20 +276,4 @@ void GpuProcessHostUIShim::OnVideoMemoryUsageStatsReceived(
video_memory_usage_stats);
}
-void GpuProcessHostUIShim::OnAddSubscription(int32_t process_id,
- unsigned int target) {
- RenderProcessHost* rph = RenderProcessHost::FromID(process_id);
- if (rph) {
- rph->OnAddSubscription(target);
- }
-}
-
-void GpuProcessHostUIShim::OnRemoveSubscription(int32_t process_id,
- unsigned int target) {
- RenderProcessHost* rph = RenderProcessHost::FromID(process_id);
- if (rph) {
- rph->OnRemoveSubscription(target);
- }
-}
-
} // namespace content
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.h ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698