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

Unified Diff: ui/base/clipboard/clipboard_unittest.cc

Issue 10539028: Only paste the fragment of text which was copied to the clipboard. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: . Created 8 years, 6 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
« no previous file with comments | « ppapi/tests/test_flash_clipboard.cc ('k') | ui/base/clipboard/clipboard_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/clipboard/clipboard_unittest.cc
diff --git a/ui/base/clipboard/clipboard_unittest.cc b/ui/base/clipboard/clipboard_unittest.cc
index f01a89ead02e33b830202dcdcb91a6a2c5007c9c..1332f5ed1528879cc190c4b253efd92f9a8dd905 100644
--- a/ui/base/clipboard/clipboard_unittest.cc
+++ b/ui/base/clipboard/clipboard_unittest.cc
@@ -226,7 +226,7 @@ TEST_F(ClipboardTest, UniodeHTMLTest) {
EXPECT_EQ(url, url_result);
// Make sure that fragment indices were adjusted when converting.
EXPECT_EQ(36, fragment_start);
- EXPECT_EQ(56, fragment_end);
+ EXPECT_EQ(52, fragment_end);
}
#endif // defined(OS_WIN)
« no previous file with comments | « ppapi/tests/test_flash_clipboard.cc ('k') | ui/base/clipboard/clipboard_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698