Commit d790473d authored by benwells's avatar benwells Committed by Commit bot

Update call to willShowInstallBannerPrompt to remove implicit conversion

This allows an overloaded version of the function to be added to Blink.

BUG=460945

Review URL: https://codereview.chromium.org/1090863002

Cr-Commit-Position: refs/heads/master@{#325530}
parent 41082e57
...@@ -198,7 +198,7 @@ void ChromeRenderFrameObserver::OnAppBannerPromptRequest( ...@@ -198,7 +198,7 @@ void ChromeRenderFrameObserver::OnAppBannerPromptRequest(
int request_id, const std::string& platform) { int request_id, const std::string& platform) {
blink::WebAppBannerPromptReply reply = blink::WebAppBannerPromptReply::None; blink::WebAppBannerPromptReply reply = blink::WebAppBannerPromptReply::None;
render_frame()->GetWebFrame()->willShowInstallBannerPrompt( render_frame()->GetWebFrame()->willShowInstallBannerPrompt(
base::UTF8ToUTF16(platform), &reply); blink::WebString(base::UTF8ToUTF16(platform)), &reply);
Send(new ChromeViewHostMsg_AppBannerPromptReply( Send(new ChromeViewHostMsg_AppBannerPromptReply(
routing_id(), request_id, reply)); routing_id(), request_id, reply));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment