cefclient: mac: Fix "undefined symbol" link error (see #3499)
This commit is contained in:
parent
52888f346f
commit
64a2f681aa
|
@ -145,7 +145,7 @@ class ClientHandlerOsr : public ClientHandler,
|
||||||
private:
|
private:
|
||||||
// Used to determine the object type.
|
// Used to determine the object type.
|
||||||
virtual const void* GetTypeKey() const override { return &kTypeKey; }
|
virtual const void* GetTypeKey() const override { return &kTypeKey; }
|
||||||
static const int kTypeKey = 0;
|
static constexpr int kTypeKey = 0;
|
||||||
|
|
||||||
// Only accessed on the UI thread.
|
// Only accessed on the UI thread.
|
||||||
OsrDelegate* osr_delegate_;
|
OsrDelegate* osr_delegate_;
|
||||||
|
|
|
@ -25,7 +25,7 @@ class ClientHandlerStd : public ClientHandler {
|
||||||
private:
|
private:
|
||||||
// Used to determine the object type.
|
// Used to determine the object type.
|
||||||
virtual const void* GetTypeKey() const override { return &kTypeKey; }
|
virtual const void* GetTypeKey() const override { return &kTypeKey; }
|
||||||
static const int kTypeKey = 0;
|
static constexpr int kTypeKey = 0;
|
||||||
|
|
||||||
// Include the default reference counting implementation.
|
// Include the default reference counting implementation.
|
||||||
IMPLEMENT_REFCOUNTING(ClientHandlerStd);
|
IMPLEMENT_REFCOUNTING(ClientHandlerStd);
|
||||||
|
|
|
@ -24,7 +24,7 @@ class DefaultClientHandler : public BaseClientHandler {
|
||||||
private:
|
private:
|
||||||
// Used to determine the object type.
|
// Used to determine the object type.
|
||||||
virtual const void* GetTypeKey() const override { return &kTypeKey; }
|
virtual const void* GetTypeKey() const override { return &kTypeKey; }
|
||||||
static const int kTypeKey = 0;
|
static constexpr int kTypeKey = 0;
|
||||||
|
|
||||||
IMPLEMENT_REFCOUNTING(DefaultClientHandler);
|
IMPLEMENT_REFCOUNTING(DefaultClientHandler);
|
||||||
DISALLOW_COPY_AND_ASSIGN(DefaultClientHandler);
|
DISALLOW_COPY_AND_ASSIGN(DefaultClientHandler);
|
||||||
|
|
Loading…
Reference in New Issue