Index: content/common/mac/app_nap_activity.h |
diff --git a/content/common/mac/app_nap_activity.h b/content/common/mac/app_nap_activity.h |
index c07f9ee8941d548b4eb30d27046909fd8724c371..c2896e8390c283b5a4084ec01ba5457503e91164 100644 |
--- a/content/common/mac/app_nap_activity.h |
+++ b/content/common/mac/app_nap_activity.h |
@@ -27,6 +27,10 @@ class CONTENT_EXPORT AppNapActivity { |
AppNapActivity(); |
~AppNapActivity(); |
+ // Because there's no NSApplication in renderers, do some housekeeping |
+ // to become eligible for App Nap. |
+ static void InitializeAppNapSupport(); |
+ |
// Begin an activity and store the provided token. |
void Begin(); |