Skip to content

Commit

Permalink
chore: remove unused arg from BaseWindow::GetBackgroundColor() (elect…
Browse files Browse the repository at this point in the history
…ron#44906)

chore: remove unused gin_helper::Arguments* arg from BaseWindow::GetBackgroundColor()

looks like this was added in db79734 but never used
  • Loading branch information
ckerr authored Dec 2, 2024
1 parent 06612cf commit a7fa6e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shell/browser/api/electron_api_base_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ void BaseWindow::SetBackgroundColor(const std::string& color_name) {
window_->SetBackgroundColor(color);
}

std::string BaseWindow::GetBackgroundColor(gin_helper::Arguments* args) const {
std::string BaseWindow::GetBackgroundColor() const {
return ToRGBHex(window_->GetBackgroundColor());
}

Expand Down
2 changes: 1 addition & 1 deletion shell/browser/api/electron_api_base_window.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class BaseWindow : public gin_helper::TrackableObject<BaseWindow>,
bool IsKiosk() const;
bool IsTabletMode() const;
virtual void SetBackgroundColor(const std::string& color_name);
std::string GetBackgroundColor(gin_helper::Arguments* args) const;
std::string GetBackgroundColor() const;
void InvalidateShadow();
void SetHasShadow(bool has_shadow);
bool HasShadow() const;
Expand Down

0 comments on commit a7fa6e8

Please sign in to comment.