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

Unified Diff: content/browser/renderer_host/clipboard_message_filter.cc

Issue 987583005: Reset the clipboard writer before destroying the clipboard message filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/clipboard_message_filter.cc
diff --git a/content/browser/renderer_host/clipboard_message_filter.cc b/content/browser/renderer_host/clipboard_message_filter.cc
index 5cb0d9c83eec74145bc9698a2e197ccc0746eb0b..88e24d9736b858056dc2a12e6e1fa26859da5919 100644
--- a/content/browser/renderer_host/clipboard_message_filter.cc
+++ b/content/browser/renderer_host/clipboard_message_filter.cc
@@ -91,6 +91,7 @@ bool ClipboardMessageFilter::OnMessageReceived(const IPC::Message& message) {
}
ClipboardMessageFilter::~ClipboardMessageFilter() {
+ clipboard_writer_->Reset();
Charlie Reis 2015/03/10 03:28:47 Hmm, how is this different than before? clipboard
dcheng 2015/03/10 03:36:02 ScopedClipboardWriter flushes internal data to the
}
void ClipboardMessageFilter::OnGetSequenceNumber(ui::ClipboardType type,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698