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

Unified Diff: ash/wm/video_detector.cc

Issue 2472183003: Remove linked_ptr from ash (Closed)
Patch Set: review Created 4 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 | « ash/wm/video_detector.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/video_detector.cc
diff --git a/ash/wm/video_detector.cc b/ash/wm/video_detector.cc
index 808de4f5f827b03d0ec60f2c9caec44162e6ea23..b1ccbc076c118e60a330f4e1535c1772c34f9676 100644
--- a/ash/wm/video_detector.cc
+++ b/ash/wm/video_detector.cc
@@ -119,7 +119,7 @@ void VideoDetector::OnDelegatedFrameDamage(
const gfx::Rect& damage_rect_in_dip) {
if (is_shutting_down_)
return;
- linked_ptr<WindowInfo>& info = window_infos_[window];
+ std::unique_ptr<WindowInfo>& info = window_infos_[window];
if (!info.get())
info.reset(new WindowInfo);
« no previous file with comments | « ash/wm/video_detector.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698