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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 10861018: Fix memory leaks from adding GPU memory to task manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: content/browser/gpu/gpu_process_host.h
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
index 761c05766f543f601f65af4de6ce68d00fa24b2d..bf6b96b5a435f71959deb6dcec1cc2cc6498a3f2 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -61,7 +61,7 @@ class GpuProcessHost : public content::BrowserChildProcessHostDelegate,
// Helper function to send the given message to the GPU process on the IO
// thread. Calls Get and if a host is returned, sends it. Can be called from
- // any thread.
+ // any thread. Deletes the message if it cannot be sent.
CONTENT_EXPORT static void SendOnIO(GpuProcessKind kind,
content::CauseForGpuLaunch cause,
IPC::Message* message);

Powered by Google App Engine
This is Rietveld 408576698