|
Mac/clang: Possibly contentious changes.
As discussed on irc, we're getting rid of const NSObjects, and we're making all properties nonatomic.
const: All of cocoa takes nonconst NSObjects, and passing a const NSString to a function that takes NSString is a const violation. gcc doesn't complain about this, but clang intentionally does. constness is usually done via immutable base classes and mutable subclasses in cocoa anyway, so getting rid of const isn't that bad. Also, we don't really have a choice.
nonatomic: Some of our classes have custom setters that are not @synchronized. If the @property for that is not non-atomic, then the interface claims that the method is synchronized but the implementation actually isn't. That's a bug. gcc happens not to complain about this, but clang does. Since we shouldn't need atomic properties anywhere, the simple rule is now to just make all properties nonatomic.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49808
Total comments: 11
Total comments: 14
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+226 lines, -233 lines) |
Patch |
|
M |
app/clipboard/clipboard_mac.mm
|
View
|
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_application_mac.mm
|
View
|
1
2
3
4
5
6
|
6 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/autocomplete_text_field.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/autocomplete_text_field_cell.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/background_gradient_view.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/background_tile_view.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_bar_controller_unittest.mm
|
View
|
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_bar_folder_controller_unittest.mm
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_bar_view.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_bar_view_unittest.mm
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_button_cell.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_editor_base_controller.h
|
View
|
1
2
3
4
5
|
3 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_editor_base_controller.mm
|
View
|
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_editor_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_menu.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_menu_cocoa_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bookmark_tree_browser_cell.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/bug_report_window_controller.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/clear_browsing_data_controller.h
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/cookie_details.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/cookie_details_view_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/download_item_cell.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/draggable_button.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/edit_search_engine_cocoa_controller_unittest.mm
|
View
|
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/extension_installed_bubble_controller.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/extensions/browser_action_button.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/extensions/browser_action_button.mm
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/extensions/browser_actions_container_view.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/extensions/browser_actions_container_view.mm
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/extensions/browser_actions_controller.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/extensions/browser_actions_controller.mm
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/extensions/extension_install_prompt_controller.h
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/find_bar_view_unittest.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/first_run_dialog.h
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/hover_close_button.mm
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/hyperlink_button_cell.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/import_progress_dialog.h
|
View
|
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/info_bubble_window.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/infobar_controller.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/keystone_glue.h
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/keystone_glue.mm
|
View
|
1
2
3
4
5
6
|
2 chunks |
+27 lines, -26 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/keyword_editor_cocoa_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/location_bar_view_mac.h
|
View
|
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/location_bar_view_mac.mm
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/preferences_window_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/status_bubble_mac.mm
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/styled_text_field_test_helper.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/sync_customize_controller.h
|
View
|
|
1 chunk |
+13 lines, -13 lines |
0 comments
|
Download
|
|
M |
chrome/browser/cocoa/view_resizer_pong.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/geolocation/wifi_data_provider_corewlan_mac.mm
|
View
|
|
1 chunk |
+10 lines, -10 lines |
2 comments
|
Download
|
|
M |
chrome/common/sandbox_mac.mm
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/render_process_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|