Commit 3dae1709 authored by mbarbella's avatar mbarbella Committed by Commit bot

Reset the clipboard writer before destroying the clipboard message filter.

We cannot commit them at this point because we are running on the IO thread.

BUG=465586

Review URL: https://codereview.chromium.org/987583005

Cr-Commit-Position: refs/heads/master@{#319838}
parent 3d8fdb39
......@@ -91,6 +91,7 @@ bool ClipboardMessageFilter::OnMessageReceived(const IPC::Message& message) {
}
ClipboardMessageFilter::~ClipboardMessageFilter() {
clipboard_writer_->Reset();
}
void ClipboardMessageFilter::OnGetSequenceNumber(ui::ClipboardType type,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment