Index: chrome/test/ui/ui_test.h |
=================================================================== |
--- chrome/test/ui/ui_test.h (revision 17078) |
+++ chrome/test/ui/ui_test.h (working copy) |
@@ -427,10 +427,10 @@ |
// tab or there was some kind of error. Only looks at the first window, for |
// backward compatibility. The returned pointer MUST be deleted by the |
// caller if non-NULL. |
- TabProxy* GetActiveTab() { return GetActiveTab(0); } |
+ scoped_refptr<TabProxy> GetActiveTab(); |
// Like above, but looks at the window at the given index. |
- TabProxy* GetActiveTab(int window_index); |
+ scoped_refptr<TabProxy> GetActiveTab(int window_index); |
// ********* Member variables ********* |