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

Unified Diff: content/common/frame_messages.h

Issue 1409693009: Fix leaking of RenderFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed frame checking and not detaching for main frames. 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
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index ada844fa3a4b5c80804d9b559ac3ac55e52e93de..456b018848ebba46a219f2fca0c2da3a724de6e4 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -480,6 +480,10 @@ IPC_MESSAGE_ROUTED1(FrameMsg_VisualStateRequest, uint64 /* id */)
// Instructs the renderer to create a new RenderFrame object.
IPC_MESSAGE_CONTROL1(FrameMsg_NewFrame, FrameMsg_NewFrame_Params /* params */)
+// Instructs the renderer to detach the RenderFrame object identified by
+// |routing_id|.
+IPC_MESSAGE_CONTROL1(FrameMsg_Detach, int /* routing_id */)
+
// Instructs the renderer to create a new RenderFrameProxy object with
// |routing_id|. |render_view_routing_id| identifies the
// RenderView to be associated with this proxy. The new proxy's opener should

Powered by Google App Engine
This is Rietveld 408576698