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

Unified Diff: sky/engine/wtf/RefPtrTest.cpp

Issue 719063002: Revert "Remove support for MSVC" (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
Index: sky/engine/wtf/RefPtrTest.cpp
diff --git a/sky/engine/wtf/RefPtrTest.cpp b/sky/engine/wtf/RefPtrTest.cpp
index c7b2655fd9fd7b8a9ac5c0a3780e864f1533f67e..29ebedf7a95bfb8f02bd2a3f8d8b0641d7ab9208 100644
--- a/sky/engine/wtf/RefPtrTest.cpp
+++ b/sky/engine/wtf/RefPtrTest.cpp
@@ -20,6 +20,7 @@ TEST(RefPtrTest, Basic)
EXPECT_TRUE(!string);
}
+#if COMPILER_SUPPORTS(CXX_RVALUE_REFERENCES)
TEST(RefPtrTest, MoveAssignmentOperator)
{
RefPtr<StringImpl> a = StringImpl::create("a");
@@ -30,5 +31,6 @@ TEST(RefPtrTest, MoveAssignmentOperator)
EXPECT_TRUE(!!b);
EXPECT_TRUE(!a);
}
+#endif
}

Powered by Google App Engine
This is Rietveld 408576698