Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3991)

Unified Diff: chrome/renderer/chrome_render_frame_observer.cc

Issue 1090863002: Update call to willShowInstallBannerPrompt to remove implicit conversion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_frame_observer.cc
diff --git a/chrome/renderer/chrome_render_frame_observer.cc b/chrome/renderer/chrome_render_frame_observer.cc
index bcfc00d8a0ebcc9dae35a56eb1b339328acd7552..a67f8fcc2364eb3e2210dafe56eef9f1da58c977 100644
--- a/chrome/renderer/chrome_render_frame_observer.cc
+++ b/chrome/renderer/chrome_render_frame_observer.cc
@@ -198,7 +198,7 @@ void ChromeRenderFrameObserver::OnAppBannerPromptRequest(
int request_id, const std::string& platform) {
blink::WebAppBannerPromptReply reply = blink::WebAppBannerPromptReply::None;
render_frame()->GetWebFrame()->willShowInstallBannerPrompt(
- base::UTF8ToUTF16(platform), &reply);
+ blink::WebString(base::UTF8ToUTF16(platform)), &reply);
Send(new ChromeViewHostMsg_AppBannerPromptReply(
routing_id(), request_id, reply));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698