chore: remove unused arg from BaseWindow::GetBackgroundColor() (#44924)

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

looks like this was added in db79734b but never used

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
trop[bot] 2024-12-02 13:58:52 -05:00 committed by GitHub
parent dc53f6e73b
commit 498a7d82cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -640,7 +640,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());
}

View file

@ -162,7 +162,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;