From 9cf44c2ed09a8b2ff243eb6dbb72a8cceae1b5ff Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 17 Aug 2015 16:55:26 -0700 Subject: Fix fix of mac build breakage at 2a2a6aa TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1293153003 . --- core/src/fxge/apple/fx_mac_imp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/fxge/apple') 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; -- cgit v1.2.3