Commit 471eb215 authored by rbpotter's avatar rbpotter Committed by Commit Bot

Fix variable name style

Rename canUsePolyfill -> can_use_polyfill

Bug: 925517
Change-Id: I0a5575f1193f4379c4cc8cd5fcc4ba1214145d6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627854
Commit-Queue: Dan Beam <dbeam@chromium.org>
Reviewed-by: default avatarDan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662819}
parent 8e99c7bc
......@@ -1607,10 +1607,10 @@ bool ChromeContentRendererClient::RequiresHtmlImports(const GURL& url) {
// Imports Polyfill so that they will not require native imports. Return true
// for only pages that have not been updated yet. See
// https://crbug.com/937747.
bool canUsePolyfill = url.host() == chrome::kChromeUIExtensionsHost ||
bool can_use_polyfill = url.host() == chrome::kChromeUIExtensionsHost ||
url.host() == chrome::kChromeUIDownloadsHost;
#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
canUsePolyfill |= url.host() == chrome::kChromeUIPrintHost;
can_use_polyfill |= url.host() == chrome::kChromeUIPrintHost;
#endif
return url.SchemeIs(content::kChromeUIScheme) && !canUsePolyfill;
return url.SchemeIs(content::kChromeUIScheme) && !can_use_polyfill;
}
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