Update some apis/constants for the minOS update.
diff --git a/AppKit/GTMFadeTruncatingTextFieldCell.m b/AppKit/GTMFadeTruncatingTextFieldCell.m
index cb0b8fb..12b59cf 100644
--- a/AppKit/GTMFadeTruncatingTextFieldCell.m
+++ b/AppKit/GTMFadeTruncatingTextFieldCell.m
@@ -42,7 +42,7 @@
   // suboptimal, but since it fades out, that's ok.
   [NSGraphicsContext saveGraphicsState];
   [NSBezierPath clipRect:backgroundRect];
-  CGContextRef context = [[NSGraphicsContext currentContext] graphicsPort];
+  CGContextRef context = [[NSGraphicsContext currentContext] CGContext];
   CGContextBeginTransparencyLayerWithRect(context,
                                           NSRectToCGRect(backgroundRect), 0);
 
diff --git a/AppKit/GTMNSBezierPath+CGPathTest.m b/AppKit/GTMNSBezierPath+CGPathTest.m
index d49e7a0..f48538c 100644
--- a/AppKit/GTMNSBezierPath+CGPathTest.m
+++ b/AppKit/GTMNSBezierPath+CGPathTest.m
@@ -36,7 +36,7 @@
                                                      hasAlpha:YES
                                                      isPlanar:NO
                                                colorSpaceName:NSDeviceRGBColorSpace
-                                                 bitmapFormat:NSAlphaFirstBitmapFormat
+                                                 bitmapFormat:NSBitmapFormatAlphaFirst
                                                   bytesPerRow:0
                                                  bitsPerPixel:0] autorelease];
 
@@ -73,7 +73,7 @@
   CGPathRef cgPath = [thePath gtm_CGPath];
   XCTAssertNotNULL(cgPath, @"Nil CGPath");
 
-  CGContextRef cgContext = [nsContext graphicsPort];
+  CGContextRef cgContext = [nsContext CGContext];
   XCTAssertNotNULL(cgContext, @"Nil cgContext");
 
   CGContextAddPath(cgContext, cgPath);
diff --git a/AppKit/GTMNSBezierPath+RoundRectTest.m b/AppKit/GTMNSBezierPath+RoundRectTest.m
index 02cd87b..99b0a2d 100644
--- a/AppKit/GTMNSBezierPath+RoundRectTest.m
+++ b/AppKit/GTMNSBezierPath+RoundRectTest.m
@@ -36,7 +36,7 @@
                                                      hasAlpha:YES
                                                      isPlanar:NO
                                                colorSpaceName:NSDeviceRGBColorSpace
-                                                 bitmapFormat:NSAlphaFirstBitmapFormat
+                                                 bitmapFormat:NSBitmapFormatAlphaFirst
                                                   bytesPerRow:0
                                                  bitsPerPixel:0] autorelease];