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

Unified Diff: cc/input/scroll_state_unittest.cc

Issue 1440593004: Make operators on scoped_ptr match the ones defined for std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: cc/input/scroll_state_unittest.cc
diff --git a/cc/input/scroll_state_unittest.cc b/cc/input/scroll_state_unittest.cc
index 314f4f390930bba96f0fac6e3bed12ad927e7f1a..67c0124625f32b21155bdeb0062315093be2b36a 100644
--- a/cc/input/scroll_state_unittest.cc
+++ b/cc/input/scroll_state_unittest.cc
@@ -66,7 +66,7 @@ TEST_F(ScrollStateTest, CurrentNativeScrollingScrollable) {
scoped_ptr<LayerImpl> layer_impl =
LayerImpl::Create(host_impl.active_tree(), 1);
scrollState.set_current_native_scrolling_layer(layer_impl.get());
- EXPECT_EQ(layer_impl, scrollState.current_native_scrolling_layer());
+ EXPECT_EQ(layer_impl.get(), scrollState.current_native_scrolling_layer());
}
TEST_F(ScrollStateTest, FullyConsumed) {

Powered by Google App Engine
This is Rietveld 408576698