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

Unified Diff: content/browser/renderer_host/gpu_message_filter.cc

Issue 383303004: Added more detailed result codes for CreateViewCommandBuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deleted commented-out code from test. Created 6 years, 5 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/gpu_message_filter.h ('k') | content/common/gpu/client/gpu_channel_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/gpu_message_filter.cc
diff --git a/content/browser/renderer_host/gpu_message_filter.cc b/content/browser/renderer_host/gpu_message_filter.cc
index 9c73f1574afc6f02218ba63a06aba72bd015e203..d16310679e789f167836a7b26c1833654829abf1 100644
--- a/content/browser/renderer_host/gpu_message_filter.cc
+++ b/content/browser/renderer_host/gpu_message_filter.cc
@@ -201,9 +201,9 @@ void GpuMessageFilter::EstablishChannelCallback(
}
void GpuMessageFilter::CreateCommandBufferCallback(
- scoped_ptr<IPC::Message> reply, bool succeeded) {
+ scoped_ptr<IPC::Message> reply, CreateCommandBufferResult result) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- GpuHostMsg_CreateViewCommandBuffer::WriteReplyParams(reply.get(), succeeded);
+ GpuHostMsg_CreateViewCommandBuffer::WriteReplyParams(reply.get(), result);
Send(reply.release());
}
« no previous file with comments | « content/browser/renderer_host/gpu_message_filter.h ('k') | content/common/gpu/client/gpu_channel_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698