| 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);
|
| }
|
|
|
|
|