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

Unified Diff: content/common/gpu/image_transport_surface_mac.cc

Issue 16917011: mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with fixed off-by-1 in git-clang-format Created 7 years, 6 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
« no previous file with comments | « content/browser/web_contents/web_drag_source_mac.mm ('k') | content/common/mac/font_loader.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface_mac.cc
diff --git a/content/common/gpu/image_transport_surface_mac.cc b/content/common/gpu/image_transport_surface_mac.cc
index c6a38c77b7b4b776cafeb5076e67f820c47a91b7..6e6c5804fd50e72567e240b5ab1a82183cf70d76 100644
--- a/content/common/gpu/image_transport_surface_mac.cc
+++ b/content/common/gpu/image_transport_surface_mac.cc
@@ -82,7 +82,7 @@ class IOSurfaceImageTransportSurface
uint32 fbo_id_;
GLuint texture_id_;
- base::mac::ScopedCFTypeRef<CFTypeRef> io_surface_;
+ base::ScopedCFTypeRef<CFTypeRef> io_surface_;
// The id of |io_surface_| or 0 if that's NULL.
uint64 io_surface_handle_;
@@ -120,7 +120,7 @@ void AddBooleanValue(CFMutableDictionaryRef dictionary,
void AddIntegerValue(CFMutableDictionaryRef dictionary,
const CFStringRef key,
int32 value) {
- base::mac::ScopedCFTypeRef<CFNumberRef> number(
+ base::ScopedCFTypeRef<CFNumberRef> number(
CFNumberCreate(NULL, kCFNumberSInt32Type, &value));
CFDictionaryAddValue(dictionary, key, number.get());
}
@@ -399,7 +399,7 @@ void IOSurfaceImageTransportSurface::CreateIOSurface() {
// Allocate a new IOSurface, which is the GPU resource that can be
// shared across processes.
- base::mac::ScopedCFTypeRef<CFMutableDictionaryRef> properties;
+ base::ScopedCFTypeRef<CFMutableDictionaryRef> properties;
properties.reset(CFDictionaryCreateMutable(kCFAllocatorDefault,
0,
&kCFTypeDictionaryKeyCallBacks,
« no previous file with comments | « content/browser/web_contents/web_drag_source_mac.mm ('k') | content/common/mac/font_loader.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698