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

Unified Diff: base/memory/scoped_ptr_unittest.cc

Issue 1752233002: Convert Pass()→std::move() on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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 | « base/files/file_win.cc ('k') | base/move.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/scoped_ptr_unittest.cc
diff --git a/base/memory/scoped_ptr_unittest.cc b/base/memory/scoped_ptr_unittest.cc
index f48657d07ef1cbe3dd90ffca8aedd7e25ade3cc8..ba977c7e9b5825852a70a40e19b2ad595826c30e 100644
--- a/base/memory/scoped_ptr_unittest.cc
+++ b/base/memory/scoped_ptr_unittest.cc
@@ -402,7 +402,8 @@ TEST(ScopedPtrTest, MoveBehavior) {
EXPECT_TRUE(scoper3.get());
}
-#if !defined(OS_ANDROID) && !defined(OS_LINUX) && !defined(OS_MACOSX)
+#if !defined(OS_ANDROID) && !defined(OS_LINUX) && !defined(OS_MACOSX) && \
+ !defined(OS_WIN)
// Test uncaught Pass() does not have side effects, because Pass()
// is implemented by std::move().
// TODO(danakj): Remove this test case when we remove Pass().
« no previous file with comments | « base/files/file_win.cc ('k') | base/move.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698