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

Issue 2116103002: mac: Use instantiateWithOwner: instead of deprecated instantiateNibWithOwner: (Closed)

Created:
4 years, 5 months ago by Nico
Modified:
4 years, 5 months ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-content_chromium.org, jam, jochen+watch_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Use instantiateWithOwner: instead of deprecated instantiateNibWithOwner: The old API used to retain all objects in the nib. The new one doesn't, so do that manually. No behavior change. Similar to https://codereview.chromium.org/1836363002/ BUG=622481 TBR=avi Committed: https://crrev.com/17c246d15c8729f54ca480a9f256b8d31d39c90a Cr-Commit-Position: refs/heads/master@{#403550}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : ... #

Patch Set 4 : be more thrifty with newlines #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -7 lines) Patch
M base/mac/sdk_forward_declarations.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_mac.mm View 2 chunks +5 lines, -1 line 2 comments Download
M content/shell/browser/shell_browser_main_parts_mac.mm View 2 chunks +5 lines, -1 line 1 comment Download
M ui/base/cocoa/nib_loading.mm View 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Nico
4 years, 5 months ago (2016-07-01 21:45:09 UTC) #2
Mark Mentovai
LGTM https://codereview.chromium.org/2116103002/diff/60001/chrome/browser/chrome_browser_main_mac.mm File chrome/browser/chrome_browser_main_mac.mm (right): https://codereview.chromium.org/2116103002/diff/60001/chrome/browser/chrome_browser_main_mac.mm#newcode155 chrome/browser/chrome_browser_main_mac.mm:155: for (NSObject* object : top_level_objects) Convenience function to ...
4 years, 5 months ago (2016-07-01 21:50:39 UTC) #3
Nico
thanks! https://codereview.chromium.org/2116103002/diff/60001/chrome/browser/chrome_browser_main_mac.mm File chrome/browser/chrome_browser_main_mac.mm (right): https://codereview.chromium.org/2116103002/diff/60001/chrome/browser/chrome_browser_main_mac.mm#newcode155 chrome/browser/chrome_browser_main_mac.mm:155: for (NSObject* object : top_level_objects) On 2016/07/01 21:50:39, ...
4 years, 5 months ago (2016-07-01 21:53:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2116103002/60001
4 years, 5 months ago (2016-07-01 21:54:27 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/211636)
4 years, 5 months ago (2016-07-01 22:02:42 UTC) #8
Nico
tbr avi for content/owners
4 years, 5 months ago (2016-07-01 22:03:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2116103002/60001
4 years, 5 months ago (2016-07-01 22:04:33 UTC) #13
Avi (use Gerrit)
LGTM in any case. https://codereview.chromium.org/2116103002/diff/60001/content/shell/browser/shell_browser_main_parts_mac.mm File content/shell/browser/shell_browser_main_parts_mac.mm (right): https://codereview.chromium.org/2116103002/diff/60001/content/shell/browser/shell_browser_main_parts_mac.mm#newcode26 content/shell/browser/shell_browser_main_parts_mac.mm:26: [object retain]; Is [top_level_objects makeObjectsPerformSelector:@selector(retain)]; ...
4 years, 5 months ago (2016-07-01 22:23:54 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-01 22:28:25 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-07-01 22:30:10 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/17c246d15c8729f54ca480a9f256b8d31d39c90a
Cr-Commit-Position: refs/heads/master@{#403550}

Powered by Google App Engine
This is Rietveld 408576698