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

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

Issue 12041078: Clear the clipboard closing Incognito window (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge and compilation fixes Created 7 years, 10 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_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 83933a4d8a6fa9465a275388f7a7b607445ae160..4337ff43751d60d4fe32c4e88b000dc97deda782 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -530,7 +530,7 @@ void RenderProcessHostImpl::CreateMessageFilters() {
channel_->AddFilter(new AppCacheDispatcherHost(
storage_partition_impl_->GetAppCacheService(),
GetID()));
- channel_->AddFilter(new ClipboardMessageFilter());
+ channel_->AddFilter(new ClipboardMessageFilter(browser_context));
channel_->AddFilter(
new DOMStorageMessageFilter(
GetID(),

Powered by Google App Engine
This is Rietveld 408576698