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

Unified Diff: chrome/browser/cocoa/tab_view.mm

Issue 3855001: Move scoped_cftyperef from base to base/mac, use the new namespace, and name ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 | « chrome/browser/cocoa/ssl_client_certificate_selector.mm ('k') | chrome/browser/cocoa/tabpose_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/tab_view.mm
===================================================================
--- chrome/browser/cocoa/tab_view.mm (revision 62861)
+++ chrome/browser/cocoa/tab_view.mm (working copy)
@@ -6,8 +6,8 @@
#include "base/logging.h"
#import "base/mac_util.h"
+#include "base/mac/mac/scoped_cftyperef.h"
#include "base/nsimage_cache_mac.h"
-#include "base/scoped_cftyperef.h"
#import "chrome/browser/cocoa/tab_controller.h"
#import "chrome/browser/cocoa/tab_window_controller.h"
#import "chrome/browser/cocoa/themed_window.h"
@@ -967,9 +967,9 @@
int workspace = -1;
// It's possible to query in bulk, but probably not necessary.
- scoped_cftyperef<CFArrayRef> windowIDs(CFArrayCreate(
+ base::mac::ScopedCFTypeRef<CFArrayRef> windowIDs(CFArrayCreate(
NULL, reinterpret_cast<const void **>(&windowID), 1, NULL));
- scoped_cftyperef<CFArrayRef> descriptions(
+ base::mac::ScopedCFTypeRef<CFArrayRef> descriptions(
CGWindowListCreateDescriptionFromArray(windowIDs));
DCHECK(CFArrayGetCount(descriptions.get()) <= 1);
if (CFArrayGetCount(descriptions.get()) > 0) {
« no previous file with comments | « chrome/browser/cocoa/ssl_client_certificate_selector.mm ('k') | chrome/browser/cocoa/tabpose_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698