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

Unified Diff: content/browser/accessibility/touch_accessibility_aura_browsertest.cc

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: content/browser/accessibility/touch_accessibility_aura_browsertest.cc
diff --git a/content/browser/accessibility/touch_accessibility_aura_browsertest.cc b/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
index 0e2e0ccbb077e2f82647c91b2f3325f07e125c81..89bc0db4d06177c31045fc8c54db0d231775bedd 100644
--- a/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
+++ b/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
@@ -84,9 +84,9 @@ IN_PROC_BROWSER_TEST_F(TouchAccessibilityBrowserTest,
gfx::Point location(bounds.x() + 50 * col + 25,
bounds.y() + 50 * row + 25);
int flags = ui::EF_TOUCH_ACCESSIBILITY;
- scoped_ptr<ui::Event> mouse_move_event(new ui::MouseEvent(
- ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(),
- flags, 0));
+ std::unique_ptr<ui::Event> mouse_move_event(
+ new ui::MouseEvent(ui::ET_MOUSE_MOVED, location, location,
+ ui::EventTimeForNow(), flags, 0));
ignore_result(dispatcher->OnEventFromSource(mouse_move_event.get()));
// Wait until we get a hover event in the expected grid cell.

Powered by Google App Engine
This is Rietveld 408576698