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

Unified Diff: chrome/browser/cocoa/preferences_window_controller.mm

Issue 1561020: Hierarchy. Hierarchy. Hierarchy!!! (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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: chrome/browser/cocoa/preferences_window_controller.mm
===================================================================
--- chrome/browser/cocoa/preferences_window_controller.mm (revision 42974)
+++ chrome/browser/cocoa/preferences_window_controller.mm (working copy)
@@ -58,7 +58,7 @@
return URLFixerUpper::FixupURL(chrome::kChromeUINewTabURL, std::string());
}
-// Helper to remove all but the last view from the view heirarchy.
+// Helper to remove all but the last view from the view hierarchy.
void RemoveAllButLastView(NSArray* views) {
NSArray* toRemove = [views subarrayWithRange:NSMakeRange(0, [views count]-1)];
for (NSView* view in toRemove) {
« no previous file with comments | « chrome/browser/autofill/autofill_dialog_controller_mac.mm ('k') | chrome/browser/views/generic_info_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698