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

Unified Diff: chrome/browser/cocoa/keyword_editor_cocoa_controller_unittest.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/cocoa/install_from_dmg.mm ('k') | chrome/browser/cocoa/preferences_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/keyword_editor_cocoa_controller_unittest.mm
===================================================================
--- chrome/browser/cocoa/keyword_editor_cocoa_controller_unittest.mm (revision 62899)
+++ chrome/browser/cocoa/keyword_editor_cocoa_controller_unittest.mm (working copy)
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/scoped_nsautorelease_pool.h"
+#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/scoped_nsobject.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/cocoa/browser_test_helper.h"
@@ -71,7 +71,7 @@
// Helper to count the keyword editors.
NSUInteger CountKeywordEditors() {
- base::ScopedNSAutoreleasePool pool;
+ base::mac::ScopedNSAutoreleasePool pool;
NSUInteger count = 0;
for (NSWindow* window in [NSApp windows]) {
id controller = [window windowController];
@@ -108,7 +108,7 @@
// The window unwinds using -autorelease, so we need to introduce an
// autorelease pool to really test whether it went away or not.
{
- base::ScopedNSAutoreleasePool pool;
+ base::mac::ScopedNSAutoreleasePool pool;
// +showKeywordEditor: creates a new controller.
[KeywordEditorCocoaController showKeywordEditor:profile];
« no previous file with comments | « chrome/browser/cocoa/install_from_dmg.mm ('k') | chrome/browser/cocoa/preferences_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698