Index: content/browser/renderer_host/render_widget_helper.h |
diff --git a/content/browser/renderer_host/render_widget_helper.h b/content/browser/renderer_host/render_widget_helper.h |
index 466b84643097a2c56a8df56e77e95bf7385a225f..fa7666d06c2b0f2ffe375df147f00b9de8a8af1f 100644 |
--- a/content/browser/renderer_host/render_widget_helper.h |
+++ b/content/browser/renderer_host/render_widget_helper.h |
@@ -189,6 +189,14 @@ class RenderWidgetHelper |
static bool GetRenderWidgetIDForWidget(gfx::AcceleratedWidget native_widget, |
int* render_process_id, |
int* render_widget_id); |
+ |
+ // To ensure that the message does not get dropped on the floor when |
+ // the RenderWidgetHelper it is sent to is destroyed, a task is posted to |
+ // handle the message. Get a token to identify this message, to ensure that |
+ // it is handled only once, |
+ // TODO(ccameron): Make RenderWidgetHelper message handling less hacky. |
+ // http://crbug.com/392031 |
+ static uint64 CreateNativeWidgetSwapToken(); |
#endif |
private: |