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

Unified Diff: content/browser/renderer_host/text_input_client_mac_unittest.mm

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: Created 4 years, 6 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/text_input_client_mac_unittest.mm
diff --git a/content/browser/renderer_host/text_input_client_mac_unittest.mm b/content/browser/renderer_host/text_input_client_mac_unittest.mm
index e953183ddaeeb461436a45375b9017ecdae64786..ae1071b93be0d279e7494c98d2ad9d9ba89fd747 100644
--- a/content/browser/renderer_host/text_input_client_mac_unittest.mm
+++ b/content/browser/renderer_host/text_input_client_mac_unittest.mm
@@ -36,6 +36,7 @@ class MockRenderWidgetHostDelegate : public RenderWidgetHostDelegate {
void Copy() override {}
void Paste() override {}
void SelectAll() override {}
+ bool HasMouseLock(RenderWidgetHostImpl*) override { return false; }
};
// This test does not test the WebKit side of the dictionary system (which

Powered by Google App Engine
This is Rietveld 408576698