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

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

Issue 151009: Removes the ability to close or resize the hung renderer dialog on Mac.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 5 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/hung_renderer_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/hung_renderer_controller_unittest.mm
===================================================================
--- chrome/browser/cocoa/hung_renderer_controller_unittest.mm (revision 20024)
+++ chrome/browser/cocoa/hung_renderer_controller_unittest.mm (working copy)
@@ -28,7 +28,8 @@
// Doesn't test much functionality-wise, but makes sure we can
// display and tear down a window.
[hung_renderer_controller_ showWindow:nil];
- [[hung_renderer_controller_ window] performClose:nil];
+ // Cannot call performClose:, because the close button is disabled.
+ [hung_renderer_controller_ close];
}
TEST_F(HungRendererControllerTest, TestKillButton) {
« no previous file with comments | « chrome/browser/cocoa/hung_renderer_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698