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

Unified Diff: ios/web/public/web_state/web_state_user_data.h

Issue 839733004: Style fixes in //ios (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/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()));
}
« ios/web/public/web_state/web_state.h ('K') | « ios/web/public/web_state/web_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698