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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_mac.mm

Issue 3828009: Move scoped_nsdisable_screen_update from base to app/mac... (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/platform_util_mac.mm ('k') | chrome/common/main_function_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_widget_host_view_mac.mm
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view_mac.mm (revision 62899)
+++ chrome/browser/renderer_host/render_widget_host_view_mac.mm (working copy)
@@ -12,8 +12,8 @@
#include "base/command_line.h"
#include "base/logging.h"
#include "base/mac/scoped_cftyperef.h"
+#import "base/mac/scoped_nsautorelease_pool.h"
#include "base/metrics/histogram.h"
-#import "base/scoped_nsautorelease_pool.h"
#import "base/scoped_nsobject.h"
#include "base/string_util.h"
#include "base/sys_info.h"
@@ -205,7 +205,7 @@
- (CVReturn)getFrameForTime:(const CVTimeStamp*)outputTime {
// There is no autorelease pool when this method is called because it will be
// called from a background thread.
- base::ScopedNSAutoreleasePool pool;
+ base::mac::ScopedNSAutoreleasePool pool;
if (![self surfaceWasSwapped])
return kCVReturnSuccess;
« no previous file with comments | « chrome/browser/platform_util_mac.mm ('k') | chrome/common/main_function_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698