| Index: chrome/browser/ui/pdf/pdf_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/ui/pdf/pdf_browsertest.cc (revision 255719)
|
| +++ chrome/browser/ui/pdf/pdf_browsertest.cc (working copy)
|
| @@ -19,6 +19,7 @@
|
| #include "chrome/test/base/ui_test_utils.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/notification_observer.h"
|
| +#include "content/public/browser/render_frame_host.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/test/browser_test_utils.h"
|
| @@ -291,7 +292,7 @@
|
| clipboard->WriteObjects(ui::CLIPBOARD_TYPE_COPY_PASTE, objects);
|
|
|
| browser()->tab_strip_model()->GetActiveWebContents()->
|
| - GetRenderViewHost()->Copy();
|
| + GetMainFrame()->Copy();
|
| ASSERT_NO_FATAL_FAILURE(WaitForResponse());
|
|
|
| std::string text;
|
|
|