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

Unified Diff: content/browser/renderer_host/render_widget_helper.h

Issue 388793003: Mac ÜC: Fix white page hangs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/browser/gpu/gpu_process_host.cc ('k') | content/browser/renderer_host/render_widget_helper_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/renderer_host/render_widget_helper_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698