summaryrefslogtreecommitdiffstats
path: root/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc')
-rw-r--r--content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc14
1 files changed, 6 insertions, 8 deletions
diff --git a/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc b/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc
index 82f330c..4733909 100644
--- a/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc
+++ b/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc
@@ -18,7 +18,7 @@
#elif defined(OS_MACOSX)
#include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebSandboxSupport.h"
#elif defined(OS_POSIX)
-#include "content/common/child_process_sandbox_support_linux.h"
+#include "content/common/child_process_sandbox_support_impl_linux.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebSandboxSupport.h"
#endif
@@ -92,19 +92,17 @@ PpapiWebKitPlatformSupportImpl::SandboxSupport::getFontFamilyForCharacters(
if (iter != unicode_font_families_.end())
return WebString::fromUTF8(iter->second);
- const std::string family_name =
- child_process_sandbox_support::getFontFamilyForCharacters(
- characters,
- num_characters,
- preferred_locale);
+ const std::string family_name = content::GetFontFamilyForCharacters(
+ characters,
+ num_characters,
+ preferred_locale);
unicode_font_families_.insert(make_pair(key, family_name));
return WebString::fromUTF8(family_name);
}
void PpapiWebKitPlatformSupportImpl::SandboxSupport::getRenderStyleForStrike(
const char* family, int sizeAndStyle, WebKit::WebFontRenderStyle* out) {
- child_process_sandbox_support::getRenderStyleForStrike(family, sizeAndStyle,
- out);
+ content::GetRenderStyleForStrike(family, sizeAndStyle, out);
}
#endif