Fix up Windows build errors
This commit is contained in:
parent
d0be6c7411
commit
3931ebb7ef
8 changed files with 16 additions and 16 deletions
|
@ -57,7 +57,7 @@ class TtsPlatformImplWin : public TtsPlatformImpl {
|
|||
int char_position_;
|
||||
bool paused_;
|
||||
|
||||
friend struct DefaultSingletonTraits<TtsPlatformImplWin>;
|
||||
friend struct base::DefaultSingletonTraits<TtsPlatformImplWin>;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(TtsPlatformImplWin);
|
||||
};
|
||||
|
@ -246,12 +246,12 @@ TtsPlatformImplWin::TtsPlatformImplWin()
|
|||
|
||||
// static
|
||||
TtsPlatformImplWin* TtsPlatformImplWin::GetInstance() {
|
||||
return Singleton<TtsPlatformImplWin,
|
||||
LeakySingletonTraits<TtsPlatformImplWin> >::get();
|
||||
return base::Singleton< TtsPlatformImplWin,
|
||||
base::LeakySingletonTraits<TtsPlatformImplWin> >::get();
|
||||
}
|
||||
|
||||
// static
|
||||
void TtsPlatformImplWin::SpeechEventCallback(
|
||||
WPARAM w_param, LPARAM l_param) {
|
||||
GetInstance()->OnSpeechEvent();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue