| Index: ios/web/public/web_state/web_state_user_data.h
|
| diff --git a/ios/web/public/web_state/web_state_user_data.h b/ios/web/public/web_state/web_state_user_data.h
|
| index 2fbcc4e546d002e3edaf91a61622557971f93ff8..d1dc0d295f3dcab29e571ba6944ff6105a350ee6 100644
|
| --- a/ios/web/public/web_state/web_state_user_data.h
|
| +++ b/ios/web/public/web_state/web_state_user_data.h
|
| @@ -16,7 +16,7 @@ namespace web {
|
| // --- in foo.h ---
|
| // class Foo : public web::WebStateUserData<Foo> {
|
| // public:
|
| -// virtual ~Foo();
|
| +// ~Foo() override;
|
| // // ... more public stuff here ...
|
| // private:
|
| // explicit Foo(web::WebState* web_state);
|
| @@ -38,7 +38,7 @@ class WebStateUserData : public base::SupportsUserData::Data {
|
|
|
| // Retrieves the instance of type T that was attached to the specified
|
| // WebState (via CreateForWebState above) and returns it. If no instance
|
| - // of the type was attached, returns NULL.
|
| + // of the type was attached, returns null.
|
| static T* FromWebState(WebState* web_state) {
|
| return static_cast<T*>(web_state->GetUserData(UserDataKey()));
|
| }
|
|
|