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

Unified Diff: chrome/browser/cocoa/applescript/window_applescript_test.mm

Issue 3163008: Removed a command which resulted in a crash.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/applescript/window_applescript.mm ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/applescript/window_applescript_test.mm
===================================================================
--- chrome/browser/cocoa/applescript/window_applescript_test.mm (revision 55911)
+++ chrome/browser/cocoa/applescript/window_applescript_test.mm (working copy)
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#import <Cocoa/Cocoa.h>
+
#import "base/scoped_nsobject.h"
#include "base/sys_string_conversions.h"
#import "chrome/browser/app_controller_mac.h"
@@ -42,10 +44,6 @@
[[WindowAppleScript alloc] initWithProfile:defaultProfile]);
EXPECT_TRUE(aWindow.get());
EXPECT_TRUE([aWindow.get() uniqueID]);
- EXPECT_EQ([aWindow.get() container],
- [BrowserCrApplication sharedApplication]);
- EXPECT_NSEQ(AppleScript::kWindowsProperty,
- [aWindow.get() containerProperty]);
}
// Create a window with no |Browser*|.
@@ -61,10 +59,6 @@
[[WindowAppleScript alloc] initWithBrowser:browser()]);
EXPECT_TRUE(aWindow.get());
EXPECT_TRUE([aWindow.get() uniqueID]);
- EXPECT_EQ([aWindow.get() container],
- [BrowserCrApplication sharedApplication]);
- EXPECT_NSEQ(AppleScript::kWindowsProperty,
- [aWindow.get() containerProperty]);
}
// Tabs within the window.
« no previous file with comments | « chrome/browser/cocoa/applescript/window_applescript.mm ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698