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

Unified Diff: ios/chrome/browser/find_in_page/find_tab_helper.h

Issue 2853443002: Switch SupportsUserData uses to use unique_ptr. (Closed)
Patch Set: Created 3 years, 8 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
Index: ios/chrome/browser/find_in_page/find_tab_helper.h
diff --git a/ios/chrome/browser/find_in_page/find_tab_helper.h b/ios/chrome/browser/find_in_page/find_tab_helper.h
index d395849d521836428c1f44103bf56bbd429cf9a1..9db6fd250199db8883161d1ff4228e88182c0a98 100644
--- a/ios/chrome/browser/find_in_page/find_tab_helper.h
+++ b/ios/chrome/browser/find_in_page/find_tab_helper.h
@@ -23,6 +23,8 @@ typedef void (^FindInPageCompletionBlock)(FindInPageModel*);
class FindTabHelper : public web::WebStateObserver,
public web::WebStateUserData<FindTabHelper> {
public:
+ ~FindTabHelper() override;
+
enum FindDirection {
FORWARD,
REVERSE,
@@ -75,7 +77,6 @@ class FindTabHelper : public web::WebStateObserver,
FindTabHelper(web::WebState* web_state,
id<FindInPageControllerDelegate> controller_delegate);
- ~FindTabHelper() override;
// web::WebStateObserver.
void NavigationItemCommitted(

Powered by Google App Engine
This is Rietveld 408576698