summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-17 16:55:26 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-17 16:55:26 -0700
commit9cf44c2ed09a8b2ff243eb6dbb72a8cceae1b5ff (patch)
treec72757b2464aa6c47d393949afb30be8b239e87a
parent2a2a6aa7f51352fc481e78f6ad9d41f2738bcc48 (diff)
downloadpdfium-9cf44c2ed09a8b2ff243eb6dbb72a8cceae1b5ff.tar.xz
Fix fix of mac build breakage at 2a2a6aa
TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1293153003 .
-rw-r--r--core/src/fxge/apple/fx_mac_imp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fxge/apple/fx_mac_imp.cpp b/core/src/fxge/apple/fx_mac_imp.cpp
index 8a39db6c37..465dd96afa 100644
--- a/core/src/fxge/apple/fx_mac_imp.cpp
+++ b/core/src/fxge/apple/fx_mac_imp.cpp
@@ -66,7 +66,7 @@ void* CFX_MacFontInfo::MapFont(int weight,
return GetFont(face);
}
auto it = m_FontList.find(face);
- if (it != m_FontList.end)
+ if (it != m_FontList.end())
return it->second;
if (charset == FXFONT_ANSI_CHARSET && (pitch_family & FXFONT_FF_FIXEDPITCH)) {
@@ -89,7 +89,7 @@ void* CFX_MacFontInfo::MapFont(int weight,
face = "LiSong Pro Light";
}
it = m_FontList.Lookup(face);
- if (it != m_FontList.end)
+ if (it != m_FontList.end())
return it->second;
return NULL;