Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(912)

Unified Diff: chrome/browser/ui/cocoa/translate/translate_infobar_unittest.mm

Issue 6249010: Cleanup: de-inline a bunch of classes, rename and move "PluginInstaller" to "... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
Index: chrome/browser/ui/cocoa/translate/translate_infobar_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/translate/translate_infobar_unittest.mm (revision 72158)
+++ chrome/browser/ui/cocoa/translate/translate_infobar_unittest.mm (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -97,7 +97,8 @@
infobar_delegate.reset(
new MockTranslateInfoBarDelegate(type, error, tab_contents.get()));
[[infobar_controller view] removeFromSuperview];
- scoped_ptr<InfoBar> infobar(infobar_delegate->CreateInfoBar());
+ scoped_ptr<InfoBar> infobar(
+ static_cast<InfoBarDelegate*>(infobar_delegate.get())->CreateInfoBar());
infobar_controller.reset(
reinterpret_cast<TranslateInfoBarControllerBase*>(
infobar->controller()));
« no previous file with comments | « chrome/browser/ui/cocoa/keystone_infobar.mm ('k') | chrome/browser/ui/gtk/translate/translate_infobar_base_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698