 Chromium Code Reviews
 Chromium Code Reviews Issue 6452011:
  Rework tree APIs to reflect Google style and more const-correctness....  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src/
    
  
    Issue 6452011:
  Rework tree APIs to reflect Google style and more const-correctness....  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src/| Index: chrome/browser/ui/views/extensions/extension_view.cc | 
| =================================================================== | 
| --- chrome/browser/ui/views/extensions/extension_view.cc (revision 74231) | 
| +++ chrome/browser/ui/views/extensions/extension_view.cc (working copy) | 
| @@ -33,9 +33,8 @@ | 
| } | 
| ExtensionView::~ExtensionView() { | 
| - View* parent = GetParent(); | 
| - if (parent) | 
| - parent->RemoveChildView(this); | 
| + if (parent()) | 
| + parent()->RemoveChildView(this); | 
| CleanUp(); | 
| } |