| Index: chrome/browser/printing/print_preview_dialog_controller_browsertest.cc
|
| diff --git a/chrome/browser/printing/print_preview_dialog_controller_browsertest.cc b/chrome/browser/printing/print_preview_dialog_controller_browsertest.cc
|
| index 050ed53601429d920125ef416d0df8eae353a3b6..2300a354cd18515171798d5c0f965e300410ed53 100644
|
| --- a/chrome/browser/printing/print_preview_dialog_controller_browsertest.cc
|
| +++ b/chrome/browser/printing/print_preview_dialog_controller_browsertest.cc
|
| @@ -37,6 +37,7 @@
|
| #include "ipc/ipc_message_macros.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "url/gurl.h"
|
| +#include "url/origin.h"
|
|
|
| using content::WebContents;
|
| using content::WebContentsObserver;
|
| @@ -149,12 +150,8 @@ void CheckPdfPluginForRenderFrame(content::RenderFrameHost* frame) {
|
|
|
| ChromePluginServiceFilter* filter = ChromePluginServiceFilter::GetInstance();
|
| EXPECT_TRUE(filter->IsPluginAvailable(
|
| - frame->GetProcess()->GetID(),
|
| - frame->GetRoutingID(),
|
| - nullptr,
|
| - GURL(kDummyPrintUrl),
|
| - GURL(),
|
| - &pdf_plugin_info));
|
| + frame->GetProcess()->GetID(), frame->GetRoutingID(), nullptr,
|
| + GURL(kDummyPrintUrl), url::Origin(), &pdf_plugin_info));
|
| }
|
|
|
| } // namespace
|
| @@ -307,10 +304,8 @@ IN_PROC_BROWSER_TEST_F(PrintPreviewDialogControllerBrowserTest,
|
| EXPECT_FALSE(filter->IsPluginAvailable(
|
| initiator()->GetRenderProcessHost()->GetID(),
|
| initiator()->GetMainFrame()->GetRoutingID(),
|
| - browser()->profile()->GetResourceContext(),
|
| - GURL("http://google.com"),
|
| - GURL(),
|
| - &dummy_pdf_plugin_info));
|
| + browser()->profile()->GetResourceContext(), GURL(),
|
| + url::Origin(GURL("http://google.com")), &dummy_pdf_plugin_info));
|
|
|
| PrintPreview();
|
|
|
|
|