summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-18 06:19:38 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-18 06:19:38 +0000
commitfb895939d78c058ed51dfdd383fa9e9656cb85d2 (patch)
treecd877661577155024c7d5ed9cf1ee4fc7626923e /skia
parent1ce815020e91163de153f48f71bb2337584770f3 (diff)
downloadchromium_src-fb895939d78c058ed51dfdd383fa9e9656cb85d2.zip
chromium_src-fb895939d78c058ed51dfdd383fa9e9656cb85d2.tar.gz
chromium_src-fb895939d78c058ed51dfdd383fa9e9656cb85d2.tar.bz2
Made result_filefaceid output optional in FontConfigIPC::Match. There are cases when we are only interested in result_family.
BUG=142421 Review URL: https://chromiumcodereview.appspot.com/10836242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/ext/SkFontHost_fontconfig_impl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/skia/ext/SkFontHost_fontconfig_impl.h b/skia/ext/SkFontHost_fontconfig_impl.h
index 391bfa6..d6f81796 100644
--- a/skia/ext/SkFontHost_fontconfig_impl.h
+++ b/skia/ext/SkFontHost_fontconfig_impl.h
@@ -32,8 +32,10 @@ class FontConfigInterface {
/** Performs config match
*
- * @param result_family (output) on success, the resulting family name.
- * @param result_filefaceid (output) on success, the resulting fileface id.
+ * @param result_family (optional, set to NULL to ignore, output)
+ * on success, set to the resulting family name.
+ * @param result_filefaceid (optional, set to NULL to ignore, output)
+ * on success, set to the resulting fileface id.
* @param filefaceid_valid if true, then |filefaceid| is valid
* @param filefaceid the filefaceid (as returned by this function)
* which we are trying to match.