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

Unified Diff: extensions/browser/guest_view/web_view/web_view_find_helper.h

Issue 573513002: Fix WeakPtrFactory member placement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: extensions/browser/guest_view/web_view/web_view_find_helper.h
diff --git a/extensions/browser/guest_view/web_view/web_view_find_helper.h b/extensions/browser/guest_view/web_view/web_view_find_helper.h
index 425b4401011ad7b18957b7039119ee7af0f0a311..db1c39d577ed18fa14239c67de852642bc45a981 100644
--- a/extensions/browser/guest_view/web_view/web_view_find_helper.h
+++ b/extensions/browser/guest_view/web_view/web_view_find_helper.h
@@ -155,12 +155,12 @@ class WebViewFindHelper {
// request of a find session.
std::vector<base::WeakPtr<FindInfo> > find_next_requests_;
- // Weak pointer used to access the find info of fin.
- base::WeakPtrFactory<FindInfo> weak_ptr_factory_;
-
friend void WebViewFindHelper::EndFindSession(int session_request_id,
bool canceled);
+// Weak pointer used to access the find info of fin.
+ base::WeakPtrFactory<FindInfo> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(FindInfo);
};
« 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