aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-22 00:12:43 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-22 00:12:43 +0000
commitb7457d0d3b25f1a3dcc46656dce4e787645730bd (patch)
tree782c48694d70542d1ce7f86936cff56eb78f754a /src/ports
parente96cf0848dfd131cb33beaf3eb159ec129fbe014 (diff)
Fix clang warnings/errors in Android only code
git-svn-id: http://skia.googlecode.com/svn/trunk@9231 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/ports')
-rw-r--r--src/ports/SkFontConfigInterface_android.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ports/SkFontConfigInterface_android.cpp b/src/ports/SkFontConfigInterface_android.cpp
index facc5fe77b..6cf7507844 100644
--- a/src/ports/SkFontConfigInterface_android.cpp
+++ b/src/ports/SkFontConfigInterface_android.cpp
@@ -374,7 +374,7 @@ bool SkFontConfigInterfaceAndroid::matchFamilyName(const char familyName[],
SkTypeface::Style style,
FontIdentity* outFontIdentifier,
SkString* outFamilyName,
- SkTypeface::Style* outStyle) SK_OVERRIDE {
+ SkTypeface::Style* outStyle) {
// clip to legal style bits
style = (SkTypeface::Style)(style & SkTypeface::kBoldItalic);
@@ -426,11 +426,11 @@ bool SkFontConfigInterfaceAndroid::matchFamilyName(const char familyName[],
return true;
}
-SkStream* SkFontConfigInterfaceAndroid::openStream(const FontIdentity& identity) SK_OVERRIDE {
+SkStream* SkFontConfigInterfaceAndroid::openStream(const FontIdentity& identity) {
return SkStream::NewFromFile(identity.fString.c_str());
}
-SkDataTable* SkFontConfigInterfaceAndroid::getFamilyNames() SK_OVERRIDE {
+SkDataTable* SkFontConfigInterfaceAndroid::getFamilyNames() {
SkTDArray<const char*> names;
SkTDArray<size_t> sizes;
@@ -450,7 +450,7 @@ SkDataTable* SkFontConfigInterfaceAndroid::getFamilyNames() SK_OVERRIDE {
bool SkFontConfigInterfaceAndroid::matchFamilySet(const char inFamilyName[],
SkString* outFamilyName,
- SkTArray<FontIdentity>*) SK_OVERRIDE {
+ SkTArray<FontIdentity>*) {
return false;
}