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 23a34f7b0cbe0d21180b8599fb384971d800041a..10fd2dbc102ef44f1fde62ec3bf08c91774c7939 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; |