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

Unified Diff: src/core/SkWriter32.cpp

Issue 143223005: Fix broken debug build (Closed) Base URL: https://skia.googlesource.com/skia.git@no_external_test
Patch Set: Remove invalid private implementation detail tests Created 6 years, 10 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
« no previous file with comments | « no previous file | tests/Writer32Test.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkWriter32.cpp
diff --git a/src/core/SkWriter32.cpp b/src/core/SkWriter32.cpp
index 7285459c3d1e5767fff762d0bb38a4a6f848a2a0..1e8a10c87caceffa61045fbf1fe0524dfb92ff4e 100644
--- a/src/core/SkWriter32.cpp
+++ b/src/core/SkWriter32.cpp
@@ -81,6 +81,6 @@ void SkWriter32::growToAtLeast(size_t size) {
// Expand the array so all reserved space is "used", we maintain the
// amount we have written manually outside the array
fInternal.setCount(fCapacity);
- SkASSERT(fInternal.count() == fCapacity);
- SkASSERT(fInternal.reserved() == fCapacity);
+ SkASSERT(fInternal.count() == (int)fCapacity);
+ SkASSERT(fInternal.reserved() == (int)fCapacity);
}
« no previous file with comments | « no previous file | tests/Writer32Test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698