diff options
Diffstat (limited to 'chrome_frame/test/chrome_frame_test_utils.cc')
-rw-r--r-- | chrome_frame/test/chrome_frame_test_utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc index 6041030..298a7c2 100644 --- a/chrome_frame/test/chrome_frame_test_utils.cc +++ b/chrome_frame/test/chrome_frame_test_utils.cc @@ -531,7 +531,7 @@ std::wstring GetPathAndQueryFromUrl(const std::wstring& url) { std::wstring GetClipboardText() { string16 text16; ui::Clipboard::GetForCurrentThread()->ReadText( - ui::Clipboard::BUFFER_STANDARD, &text16); + ui::CLIPBOARD_TYPE_COPY_PASTE, &text16); return UTF16ToWide(text16); } @@ -542,7 +542,7 @@ void DestroyClipboard() { void SetClipboardText(const std::wstring& text) { ui::ScopedClipboardWriter clipboard_writer( ui::Clipboard::GetForCurrentThread(), - ui::Clipboard::BUFFER_STANDARD); + ui::CLIPBOARD_TYPE_COPY_PASTE); clipboard_writer.WriteText(WideToUTF16(text)); } |