Skip to content

Commit

Permalink
cefclient: mac: Fix "undefined symbol" link error (see #3499)
Browse files Browse the repository at this point in the history
  • Loading branch information
magreenblatt committed Aug 7, 2024
1 parent 404d11b commit 6d71342
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/cefclient/browser/client_handler_osr.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class ClientHandlerOsr : public ClientHandler,
private:
// Used to determine the object type.
virtual const void* GetTypeKey() const override { return &kTypeKey; }
static const int kTypeKey = 0;
static constexpr int kTypeKey = 0;

// Only accessed on the UI thread.
OsrDelegate* osr_delegate_;
Expand Down
2 changes: 1 addition & 1 deletion tests/cefclient/browser/client_handler_std.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ClientHandlerStd : public ClientHandler {
private:
// Used to determine the object type.
virtual const void* GetTypeKey() const override { return &kTypeKey; }
static const int kTypeKey = 0;
static constexpr int kTypeKey = 0;

// Include the default reference counting implementation.
IMPLEMENT_REFCOUNTING(ClientHandlerStd);
Expand Down
2 changes: 1 addition & 1 deletion tests/cefclient/browser/default_client_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class DefaultClientHandler : public BaseClientHandler {
private:
// Used to determine the object type.
virtual const void* GetTypeKey() const override { return &kTypeKey; }
static const int kTypeKey = 0;
static constexpr int kTypeKey = 0;

IMPLEMENT_REFCOUNTING(DefaultClientHandler);
DISALLOW_COPY_AND_ASSIGN(DefaultClientHandler);
Expand Down

0 comments on commit 6d71342

Please sign in to comment.