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

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

Issue 2208583005: Request to start/stop calculating composition info from RenderWidget when it is active/inactive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a Crash due to Pure Virtual Call Created 4 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/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index 813265c77f3a3aa480b61f0a6020a15278fea042..a0b23a81df0433a7936317e180e6a6f0dcbd55ff 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -687,6 +687,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
// RenderWidgetHostInputEventRouter.
bool disable_input_event_router_for_testing_;
+ // The last RenderWidgetHost which had an active text input state.
+ RenderWidgetHostImpl* last_active_widget_;
Charlie Reis 2016/08/03 22:16:23 What guarantees we won't get a use-after-free here
EhsanK 2016/08/04 18:57:58 Actually, there was a way to crash this. Good catc
+
base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);

Powered by Google App Engine
This is Rietveld 408576698