mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
Bug 1341511 - Replace std::map::empty() call with correct std::map::clear() call to remove all elements from the map r=dvander,jchen
This commit is contained in:
parent
810d6c683a
commit
1de7435d35
@ -59,7 +59,7 @@ DoCachedResize()
|
||||
sChild->SendResumeAndResize(cache.first, cache.second.mSurfaceWidth, cache.second.mSurfaceHeight);
|
||||
}
|
||||
|
||||
sResizeCache.empty();
|
||||
sResizeCache.clear();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user