Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1209)

Unified Diff: third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: fix typo Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
index 0c4331156baadd4cbeeebaa371948073e4db2d9a..a915e391eab6ed432aa8c0bfe65fd0a4a7fee394 100644
--- a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
@@ -83,7 +83,7 @@ class SkiaImageDecoder final : public SkImageDeserializer {
PassRefPtr<PictureSnapshot> PictureSnapshot::Load(
const Vector<RefPtr<TilePictureStream>>& tiles) {
- ASSERT(!tiles.IsEmpty());
+ DCHECK(!tiles.IsEmpty());
Vector<sk_sp<SkPicture>> pictures;
pictures.ReserveCapacity(tiles.size());
FloatRect union_rect;
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Path.cpp ('k') | third_party/WebKit/Source/platform/graphics/ProfilingCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698