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

Unified Diff: content/renderer/render_view_impl.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 7 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 | « content/renderer/render_thread_impl.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 932e31a116ae1fd8f51b055dbf681bca65693448..114f31f7b5a72f40f536a5a5545c288689529a63 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -746,9 +746,7 @@ class CONTENT_EXPORT RenderViewImpl
// to access RenderViewImpl state. The set of state variables are page-level
// specific, so they don't belong in RenderFrameImpl and should remain in
// this object.
- ObserverList<RenderViewObserver>& observers() {
- return observers_;
- }
+ base::ObserverList<RenderViewObserver>& observers() { return observers_; }
// TODO(nasko): Remove this method when we move to frame proxy objects, since
// the concept of swapped out will be eliminated.
@@ -994,7 +992,7 @@ class CONTENT_EXPORT RenderViewImpl
// All the registered observers. We expect this list to be small, so vector
// is fine.
- ObserverList<RenderViewObserver> observers_;
+ base::ObserverList<RenderViewObserver> observers_;
// Wraps the |webwidget_| as a MouseLockDispatcher::LockTarget interface.
scoped_ptr<MouseLockDispatcher::LockTarget> webwidget_mouse_lock_target_;
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698