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

Unified Diff: content/renderer/gpu/compositor_output_surface.cc

Issue 2083423006: Remove default begin frame sources from the renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/renderer/gpu/compositor_output_surface.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/compositor_output_surface.cc
diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc
index f341e25fbb002293ed6464c8911c4934f0b20400..de11e048870d5df9c093e4b0caf36c5c17496122 100644
--- a/content/renderer/gpu/compositor_output_surface.cc
+++ b/content/renderer/gpu/compositor_output_surface.cc
@@ -135,24 +135,11 @@ void CompositorOutputSurface::OnMessageReceived(const IPC::Message& message) {
if (!HasClient())
return;
IPC_BEGIN_MESSAGE_MAP(CompositorOutputSurface, message)
- IPC_MESSAGE_HANDLER(ViewMsg_UpdateVSyncParameters,
- OnUpdateVSyncParametersFromBrowser);
IPC_MESSAGE_HANDLER(ViewMsg_ReclaimCompositorResources,
OnReclaimCompositorResources);
IPC_END_MESSAGE_MAP()
}
-void CompositorOutputSurface::OnUpdateVSyncParametersFromBrowser(
- base::TimeTicks timebase,
- base::TimeDelta interval) {
- DCHECK(client_thread_checker_.CalledOnValidThread());
- TRACE_EVENT2("cc",
- "CompositorOutputSurface::OnUpdateVSyncParametersFromBrowser",
- "timebase", (timebase - base::TimeTicks()).InSecondsF(),
- "interval", interval.InSecondsF());
- client_->CommitVSyncParameters(timebase, interval);
-}
-
void CompositorOutputSurface::OnReclaimCompositorResources(
uint32_t output_surface_id,
bool is_swap_ack,
« no previous file with comments | « content/renderer/gpu/compositor_output_surface.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698