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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.cc

Issue 1469863003: Cleanup SurfaceVisibility code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase.. Created 5 years, 1 month 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/gpu/gpu_command_buffer_stub.h ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 39a75d2165055f20ca43cbe75afacd72bb67fcb4..eead7fb3c425ccf2a87f371b41610060b104b285 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -305,8 +305,6 @@ bool GpuCommandBufferStub::OnMessageReceived(const IPC::Message& message) {
OnCreateVideoDecoder)
IPC_MESSAGE_HANDLER_DELAY_REPLY(GpuCommandBufferMsg_CreateVideoEncoder,
OnCreateVideoEncoder)
- IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_SetSurfaceVisible,
- OnSetSurfaceVisible)
IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_RetireSyncPoint,
OnRetireSyncPoint)
IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_SignalSyncPoint,
@@ -913,11 +911,6 @@ void GpuCommandBufferStub::OnCreateVideoEncoder(
// self-delete during destruction of this stub.
}
-// TODO(sohanjg): cleanup this and the client side too.
-void GpuCommandBufferStub::OnSetSurfaceVisible(bool visible) {
- TRACE_EVENT0("gpu", "GpuCommandBufferStub::OnSetSurfaceVisible");
-}
-
void GpuCommandBufferStub::InsertSyncPoint(uint32 sync_point, bool retire) {
sync_points_.push_back(sync_point);
if (retire) {
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.h ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698