зеркало из https://github.com/mozilla/gecko-dev.git
Bug 898929. Replace assertion with warning in gfxASurface.cpp. r=roc
This commit is contained in:
Родитель
31ac189fe3
Коммит
d1c5181fe1
|
@ -523,7 +523,7 @@ gfxASurface::MovePixels(const nsIntRect& aSourceRect,
|
|||
// CreateSimilarSurface can return nullptr if the current surface is
|
||||
// in an error state. This isn't good, but its better to carry
|
||||
// on with the error surface instead of crashing.
|
||||
NS_ASSERTION(tmp, "Must have temporary surface to move pixels!");
|
||||
NS_WARN_IF_FALSE(tmp, "Must have temporary surface to move pixels!");
|
||||
if (!tmp) {
|
||||
return;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче