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

Unified Diff: src/core/SkTextBlob.cpp

Issue 1405463004: [SkTextBlob] Remove incorrect builder assert (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: win fix reloaded Created 5 years, 2 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/TextBlobTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkTextBlob.cpp
diff --git a/src/core/SkTextBlob.cpp b/src/core/SkTextBlob.cpp
index 2ccf26b1c6fdd1f50009cc0f7950268f335f618d..7fd96ad8b284b1ed9625b4ab7a91dcf6e956828f 100644
--- a/src/core/SkTextBlob.cpp
+++ b/src/core/SkTextBlob.cpp
@@ -403,8 +403,6 @@ SkRect SkTextBlobBuilder::TightRunBounds(const SkTextBlob::RunRecord& run) {
}
SkASSERT((void*)glyphPosX <= SkTextBlob::RunRecord::Next(&run));
- SkASSERT(run.positioning() == SkTextBlob::kHorizontal_Positioning ||
- (void*)glyphPosY <= SkTextBlob::RunRecord::Next(&run));
return bounds.makeOffset(run.offset().x(), run.offset().y());
}
« no previous file with comments | « no previous file | tests/TextBlobTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698