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

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: scopedptrequals: followupfix-after-rebase 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
« no previous file with comments | « blimp/engine/browser/blimp_engine_session.cc ('k') | cc/raster/one_copy_tile_task_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « blimp/engine/browser/blimp_engine_session.cc ('k') | cc/raster/one_copy_tile_task_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698