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

Unified Diff: third_party/WebKit/Source/platform/graphics/ProfilingCanvas.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/ProfilingCanvas.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ProfilingCanvas.cpp b/third_party/WebKit/Source/platform/graphics/ProfilingCanvas.cpp
index 8cea360933c3696eb8d3db711c84d8bd23632334..cbc9e1b63a03efdc3fceb4677d7b594a0cb09a03 100644
--- a/third_party/WebKit/Source/platform/graphics/ProfilingCanvas.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ProfilingCanvas.cpp
@@ -44,7 +44,7 @@ CanvasInterceptor<ProfilingCanvas>::~CanvasInterceptor() {
return;
double delta = WTF::MonotonicallyIncreasingTime() - start_time_;
if (auto timings = Canvas()->timings_) {
- ASSERT(timings->size() == Canvas()->CallCount());
+ DCHECK_EQ(timings->size(), Canvas()->CallCount());
timings->push_back(delta);
}
}

Powered by Google App Engine
This is Rietveld 408576698