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

Issue 10908074: mac: Use convertSizeFromBacking: instead of the deprecated ...FromBase: (Closed)

Created:
8 years, 3 months ago by Nico
Modified:
8 years, 3 months ago
Reviewers:
Avi (use Gerrit), sail
CC:
chromium-reviews, Avi (use Gerrit)
Visibility:
Public.

Description

mac: Use convertSizeFromBacking: instead of the deprecated ...FromBase: Using convertSizeFromBase: makes 10.8 log a warning message, and all retina macs run at least 10.7 (where convertSizeFromBacking: became available) anyway. Also protect Lion API declarations with MAC_OS_X_VERSION_MAX_ALLOWED checks in a few places. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=154808

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 1

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -5 lines) Patch
M chrome/browser/ui/cocoa/nsview_additions.mm View 1 2 3 1 chunk +13 lines, -3 lines 0 comments Download
M ui/base/layout_mac.mm View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ui/gfx/screen_mac.mm View 1 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Nico
8 years, 3 months ago (2012-09-04 20:13:07 UTC) #1
Nico
(avi: fyi)
8 years, 3 months ago (2012-09-04 20:13:17 UTC) #2
Avi (use Gerrit)
lgtm https://chromiumcodereview.appspot.com/10908074/diff/9001/chrome/browser/ui/cocoa/nsview_additions.mm File chrome/browser/ui/cocoa/nsview_additions.mm (right): https://chromiumcodereview.appspot.com/10908074/diff/9001/chrome/browser/ui/cocoa/nsview_additions.mm#newcode19 chrome/browser/ui/cocoa/nsview_additions.mm:19: // All shipping retina macs run at least ...
8 years, 3 months ago (2012-09-04 20:17:23 UTC) #3
sail
lgtm
8 years, 3 months ago (2012-09-04 20:21:23 UTC) #4
commit-bot: I haz the power
8 years, 3 months ago (2012-09-04 20:27:21 UTC) #5

Powered by Google App Engine
This is Rietveld 408576698