| Index: content/browser/renderer_host/render_widget_host_view_aura.cc
|
| ===================================================================
|
| --- content/browser/renderer_host/render_widget_host_view_aura.cc (revision 183210)
|
| +++ content/browser/renderer_host/render_widget_host_view_aura.cc (working copy)
|
| @@ -22,9 +22,7 @@
|
| #include "content/common/gpu/gpu_messages.h"
|
| #include "content/common/view_messages.h"
|
| #include "content/port/browser/render_widget_host_view_port.h"
|
| -#include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_thread.h"
|
| -#include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/user_metrics.h"
|
| #include "content/public/common/content_switches.h"
|
| @@ -875,12 +873,10 @@
|
| if (text.empty() || range.is_empty())
|
| return;
|
|
|
| - BrowserContext* browser_context = host_->GetProcess()->GetBrowserContext();
|
| // Set the BUFFER_SELECTION to the ui::Clipboard.
|
| ui::ScopedClipboardWriter clipboard_writer(
|
| ui::Clipboard::GetForCurrentThread(),
|
| - ui::Clipboard::BUFFER_SELECTION,
|
| - BrowserContext::GetMarkerForOffTheRecordContext(browser_context));
|
| + ui::Clipboard::BUFFER_SELECTION);
|
| clipboard_writer.WriteText(text);
|
| #endif // defined(USE_X11) && !defined(OS_CHROMEOS)
|
| }
|
|
|