Skip to content

Commit a11b8e6

Browse files
clavinckerr
authored andcommitted
1 parent ef0c441 commit a11b8e6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

shell/browser/extensions/api/management/electron_management_api_delegate.cc

+5-5
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ void ElectronManagementAPIDelegate::SetLaunchType(
203203
GURL ElectronManagementAPIDelegate::GetIconURL(
204204
const extensions::Extension* extension,
205205
int icon_size,
206-
ExtensionIconSet::MatchType match,
206+
ExtensionIconSet::Match match,
207207
bool grayscale) const {
208-
GURL icon_url(base::StringPrintf("%s%s/%d/%d%s",
209-
chrome::kChromeUIExtensionIconURL,
210-
extension->id().c_str(), icon_size, match,
211-
grayscale ? "?grayscale=true" : ""));
208+
GURL icon_url(base::StringPrintf(
209+
"%s%s/%d/%d%s", chrome::kChromeUIExtensionIconURL,
210+
extension->id().c_str(), icon_size, static_cast<int>(match),
211+
grayscale ? "?grayscale=true" : ""));
212212
CHECK(icon_url.is_valid());
213213
return icon_url;
214214
}

shell/browser/extensions/api/management/electron_management_api_delegate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ElectronManagementAPIDelegate : public extensions::ManagementAPIDelegate {
6969
extensions::LaunchType launch_type) const override;
7070
GURL GetIconURL(const extensions::Extension* extension,
7171
int icon_size,
72-
ExtensionIconSet::MatchType match,
72+
ExtensionIconSet::Match match,
7373
bool grayscale) const override;
7474
GURL GetEffectiveUpdateURL(const extensions::Extension& extension,
7575
content::BrowserContext* context) const override;

0 commit comments

Comments
 (0)