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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultTestInfo.cpp

Issue 2520833002: Make HarfBuzzShaperTest.ResolveCandidateRunsUnicodeVariants more robust (Closed)
Patch Set: Mac still needs to be excepted Created 4 years, 1 month 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 | « third_party/WebKit/Source/platform/fonts/shaping/ShapeResultTestInfo.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultTestInfo.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultTestInfo.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultTestInfo.cpp
index a56d9ec4e0255d7107d6e2caed06f704f7e9ae86..1f255e31ebc39bea114e802b0d73b5fbf8c7dd25 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultTestInfo.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultTestInfo.cpp
@@ -36,4 +36,9 @@ float ShapeResultTestInfo::advanceForTesting(unsigned runIndex,
return m_runs[runIndex]->m_glyphData[glyphIndex].advance;
}
+SimpleFontData* ShapeResultTestInfo::fontDataForTesting(
+ unsigned runIndex) const {
+ return m_runs[runIndex]->m_fontData.get();
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/shaping/ShapeResultTestInfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698