Bug 898929. Replace assertion with warning in gfxASurface.cpp. r=roc

This commit is contained in:
Nicholas Cameron 2013-09-02 10:19:19 +12:00
Родитель 31ac189fe3
Коммит d1c5181fe1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}