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

Unified Diff: chrome/gpu/gpu_command_buffer_stub.h

Issue 6076005: Mac: Don't hang gpu process on popup close under certain conditions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: final touches Created 10 years 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
Index: chrome/gpu/gpu_command_buffer_stub.h
diff --git a/chrome/gpu/gpu_command_buffer_stub.h b/chrome/gpu/gpu_command_buffer_stub.h
index e61bdd072129ba8d7f87efbfa4a2e45ebba6a46b..66d175997b9ef9075e6bb2ea13b455db9e353930 100644
--- a/chrome/gpu/gpu_command_buffer_stub.h
+++ b/chrome/gpu/gpu_command_buffer_stub.h
@@ -49,8 +49,13 @@ class GpuCommandBufferStub
// Get the GLContext associated with this object.
gpu::GPUProcessor* processor() const { return processor_.get(); }
+ // Identifies the various GpuCommandBufferStubs in the GPU process belonging
+ // to the same renderer process.
int32 route_id() const { return route_id_; }
+ // Identifies the various render views in the renderer process.
+ int32 renderer_route_id() const { return renderer_id_; }
+
#if defined(OS_WIN)
// Called only by the compositor window's window proc
void OnCompositorWindowPainted();

Powered by Google App Engine
This is Rietveld 408576698