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

Unified Diff: chrome/browser/ui/browser.cc

Issue 15067008: [InfoBar] Add InfoBarDelegate::GetIconID() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments Created 7 years, 7 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
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 1b60fff93e55be8848cfc794517e53084c67040e..2d9d9b6d08634bc25607aa126a858c39e45d63e2 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -842,7 +842,7 @@ void Browser::JSOutOfMemoryHelper(WebContents* web_contents) {
return;
SimpleAlertInfoBarDelegate::Create(
- infobar_service, NULL,
+ infobar_service, -1,
l10n_util::GetStringUTF16(IDS_JS_OUT_OF_MEMORY_PROMPT), true);
}
@@ -1512,7 +1512,7 @@ void Browser::RendererResponsive(WebContents* source) {
void Browser::WorkerCrashed(WebContents* source) {
SimpleAlertInfoBarDelegate::Create(
- InfoBarService::FromWebContents(source), NULL,
+ InfoBarService::FromWebContents(source), -1,
l10n_util::GetStringUTF16(IDS_WEBWORKER_CRASHED_PROMPT), true);
}

Powered by Google App Engine
This is Rietveld 408576698