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

Unified Diff: content/browser/frame_host/cross_process_frame_connector.h

Issue 2112923002: Fix crash when destroying a RenderWidgetHost that holds the pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: send privileged request through webcontents Created 4 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
Index: content/browser/frame_host/cross_process_frame_connector.h
diff --git a/content/browser/frame_host/cross_process_frame_connector.h b/content/browser/frame_host/cross_process_frame_connector.h
index d72969de132c48933df9f613545ab7aae46921a0..51251fd394a5cefe751222df9e035bdd34f3fddd 100644
--- a/content/browser/frame_host/cross_process_frame_connector.h
+++ b/content/browser/frame_host/cross_process_frame_connector.h
@@ -113,6 +113,9 @@ class CONTENT_EXPORT CrossProcessFrameConnector {
// Locks the mouse. Returns true if mouse is locked.
bool LockMouse();
+ // Unlocks the mouse if the mouse is locked.
+ void UnlockMouse();
+
// Returns the parent RenderWidgetHostView or nullptr it it doesn't have one.
virtual RenderWidgetHostViewBase* GetParentRenderWidgetHostView();

Powered by Google App Engine
This is Rietveld 408576698