Index: chrome/browser/ui/ash/screenshot_taker.cc |
diff --git a/chrome/browser/ui/ash/screenshot_taker.cc b/chrome/browser/ui/ash/screenshot_taker.cc |
index e7c320b69e0908930b1f0d576bf6ee5b9e1bce07..4d43799d7cef1f228eab9dd416b8bae853687284 100644 |
--- a/chrome/browser/ui/ash/screenshot_taker.cc |
+++ b/chrome/browser/ui/ash/screenshot_taker.cc |
@@ -74,8 +74,7 @@ void CopyScreenshotToClipboard(scoped_refptr<base::RefCountedString> png_data) { |
// TODO(dcheng): Why don't we take advantage of the ability to write bitmaps |
// to the clipboard here? |
{ |
- ui::ScopedClipboardWriter scw(ui::Clipboard::GetForCurrentThread(), |
- ui::CLIPBOARD_TYPE_COPY_PASTE); |
+ ui::ScopedClipboardWriter scw(ui::CLIPBOARD_TYPE_COPY_PASTE); |
std::string html(kImageClipboardFormatPrefix); |
html += encoded; |
html += kImageClipboardFormatSuffix; |