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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 440203002: Merge 283085 "Added more detailed result codes for CreateViewCom..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/src/
Patch Set: Created 6 years, 4 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/render_thread_impl.h ('k') | content/test/data/gpu/webgl_with_select_element.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
===================================================================
--- content/renderer/render_thread_impl.cc (revision 287582)
+++ content/renderer/render_thread_impl.cc (working copy)
@@ -1134,7 +1134,7 @@
HostAllocateSharedMemoryBuffer(size));
}
-bool RenderThreadImpl::CreateViewCommandBuffer(
+CreateCommandBufferResult RenderThreadImpl::CreateViewCommandBuffer(
int32 surface_id,
const GPUCreateCommandBufferConfig& init_params,
int32 route_id) {
@@ -1143,17 +1143,17 @@
"surface_id",
surface_id);
- bool succeeded = false;
+ CreateCommandBufferResult result;
IPC::Message* message = new GpuHostMsg_CreateViewCommandBuffer(
surface_id,
init_params,
route_id,
- &succeeded);
+ &result);
// Allow calling this from the compositor thread.
thread_safe_sender()->Send(message);
- return succeeded;
+ return result;
}
void RenderThreadImpl::CreateImage(
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/test/data/gpu/webgl_with_select_element.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698