Regenerate SyncObjects on device resets. (bug 1255711, r=bas) a=ritu

MozReview-Commit-ID: 4MScXGoKxii
This commit is contained in:
David Anderson 2016-03-14 12:55:47 -07:00
parent 31eb63011e
commit b9b69810df
2 changed files with 1 additions and 4 deletions

View File

@ -558,7 +558,7 @@ ClientLayerManager::FlushRendering()
void
ClientLayerManager::UpdateTextureFactoryIdentifier(const TextureFactoryIdentifier& aNewIdentifier)
{
mForwarder->UpdateTextureFactoryIdentifier(aNewIdentifier);
mForwarder->IdentifyTextureHost(aNewIdentifier);
}
void

View File

@ -136,9 +136,6 @@ public:
void IdentifyTextureHost(const TextureFactoryIdentifier& aIdentifier);
void UpdateTextureFactoryIdentifier(const TextureFactoryIdentifier& aNewIdentifier) {
mTextureFactoryIdentifier = aNewIdentifier;
}
virtual int32_t GetMaxTextureSize() const override
{
return mTextureFactoryIdentifier.mMaxTextureSize;