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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.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
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/common/gpu_host_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index df29ba938f707e1ade5534c11005abf071650d54..7200e997f1c59d1f343c0293c3dd0bfdf12ca87c 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -971,17 +971,6 @@ void RenderWidgetHostImpl::ForwardMouseEventWithLatencyInfo(
MouseEventWithLatencyInfo mouse_with_latency(mouse_event, ui_latency);
latency_tracker_.OnInputEvent(mouse_event, &mouse_with_latency.latency);
input_router_->SendMouseEvent(mouse_with_latency);
-
- // Pass mouse state to gpu service if the subscribe uniform
- // extension is enabled.
- if (process_->SubscribeUniformEnabled()) {
- gpu::ValueState state;
- state.int_value[0] = mouse_event.x;
- state.int_value[1] = mouse_event.y;
- // TODO(orglofch) Separate the mapping of pending value states to the
- // Gpu Service to be per RWH not per process
- process_->SendUpdateValueState(GL_MOUSE_POSITION_CHROMIUM, state);
- }
}
void RenderWidgetHostImpl::ForwardWheelEvent(
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/common/gpu_host_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698