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

Unified Diff: ui/accelerated_widget_mac/display_link_mac.h

Issue 2684753004: Make DisplayLinkMac RefCountedThreadSafe (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accelerated_widget_mac/display_link_mac.h
diff --git a/ui/accelerated_widget_mac/display_link_mac.h b/ui/accelerated_widget_mac/display_link_mac.h
index f9269e1e374fffe76f862a3a4b86471200f9eb9f..c376c702a73bc1511b295987eb086ad795ba16c6 100644
--- a/ui/accelerated_widget_mac/display_link_mac.h
+++ b/ui/accelerated_widget_mac/display_link_mac.h
@@ -22,8 +22,8 @@ class SingleThreadTaskRunner;
namespace ui {
-class ACCELERATED_WIDGET_MAC_EXPORT DisplayLinkMac :
- public base::RefCounted<DisplayLinkMac> {
+class ACCELERATED_WIDGET_MAC_EXPORT DisplayLinkMac
+ : public base::RefCountedThreadSafe<DisplayLinkMac> {
public:
static scoped_refptr<DisplayLinkMac> GetForDisplay(
CGDirectDisplayID display_id);
@@ -41,7 +41,7 @@ class ACCELERATED_WIDGET_MAC_EXPORT DisplayLinkMac :
void NotifyCurrentTime(const base::TimeTicks& now);
private:
- friend class base::RefCounted<DisplayLinkMac>;
+ friend class base::RefCountedThreadSafe<DisplayLinkMac>;
DisplayLinkMac(
CGDirectDisplayID display_id,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698