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

Unified Diff: src/core/SkGlyphCache.cpp

Issue 2322753002: GN: default to -O1 (Closed)
Patch Set: warning Created 4 years, 3 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 | « gn/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkGlyphCache.cpp
diff --git a/src/core/SkGlyphCache.cpp b/src/core/SkGlyphCache.cpp
index 40d599717d0423031680f760b123c8f89ef100f4..a8eaa667a58ad72e4c5141fd34a1b4dcdcbae163 100644
--- a/src/core/SkGlyphCache.cpp
+++ b/src/core/SkGlyphCache.cpp
@@ -545,7 +545,7 @@ SkGlyphCache* SkGlyphCache::VisitCache(SkTypeface* typeface,
// Precondition: the typeface id must be the fFontID in the descriptor
SkDEBUGCODE(
- uint32_t length;
+ uint32_t length = 0;
const SkScalerContext::Rec* rec = static_cast<const SkScalerContext::Rec*>(
desc->findEntry(kRec_SkDescriptorTag, &length));
SkASSERT(rec);
« no previous file with comments | « gn/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698