Chromium Code Reviews| 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..d0fc5eb7884348474bf0860160715ce5ccfa3bdf 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 nullptr. |
|
sdefresne
2015/01/09 10:35:31
s/nullptr/null/ in comments
|
| static T* FromWebState(WebState* web_state) { |
| return static_cast<T*>(web_state->GetUserData(UserDataKey())); |
| } |