Fix style issues in View class.

BUG=None
TEST=None

Patch contributed by [email protected]

Review URL: http://codereview.chromium.org/338011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31360 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/views/view.h b/views/view.h
index 8f362f1..d7144f7 100644
--- a/views/view.h
+++ b/views/view.h
@@ -874,10 +874,12 @@
   // parent is automatically deleted when the parent is deleted. The default is
   // true. Set to false if the view is owned by another object and should not
   // be deleted by its parent.
-  void SetParentOwned(bool f);
+  void set_parent_owned(bool is_parent_owned) {
+    is_parent_owned_ = is_parent_owned;
+  }
 
-  // Return whether a view is owned by its parent. See SetParentOwned()
-  bool IsParentOwned() const;
+  // Return whether a view is owned by its parent.
+  bool IsParentOwned() const { return is_parent_owned_; }
 
   // Return the receiving view's class name. A view class is a string which
   // uniquely identifies the view class. It is intended to be used as a way to