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

Unified Diff: ui/app_list/views/app_list_view.h

Issue 68173019: Remove static initializer from AppListView::SetNextPaintCallback(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
Index: ui/app_list/views/app_list_view.h
diff --git a/ui/app_list/views/app_list_view.h b/ui/app_list/views/app_list_view.h
index 9f95482fe2796ffff0db56216b21135bc74b7621..4c25e87bd854874f5c68f1e84a76a87673bd09ac 100644
--- a/ui/app_list/views/app_list_view.h
+++ b/ui/app_list/views/app_list_view.h
@@ -97,7 +97,7 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
void RemoveObserver(Observer* observer);
// Set a callback to be called the next time any app list paints.
- static void SetNextPaintCallback(const base::Closure& callback);
+ static void SetNextPaintCallback(void (*callback)());
#if defined(OS_WIN)
HWND GetHWND() const;

Powered by Google App Engine
This is Rietveld 408576698