summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_webkitclient_impl.cc
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-22 19:53:33 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-22 19:53:33 +0000
commit3c22b1893efad9bbe786bd5c25a7fbf499ac8e48 (patch)
treefde84179b3c1889e0a729ed4a83c2f57696acc64 /chrome/renderer/renderer_webkitclient_impl.cc
parent5951b5c1c74422be6793df444364f2f5436685ff (diff)
downloadchromium_src-3c22b1893efad9bbe786bd5c25a7fbf499ac8e48.zip
chromium_src-3c22b1893efad9bbe786bd5c25a7fbf499ac8e48.tar.gz
chromium_src-3c22b1893efad9bbe786bd5c25a7fbf499ac8e48.tar.bz2
WebKit roll 55080:55089
Also merging in this Chromium side patch to match: Linux: add plumbing for fontconfig on per-strike basis fontconfig on Linux can change the render preferences on a per strike basis (a strike a combination of face and size). Because of this, we need to query fontconfig each time a new FontPlatformData is created for a new size. This is the Chromium side of https://bugs.webkit.org/show_bug.cgi?id=33065 BUG=18159 TEST=A new renderer should respect settings in ~/.fonts.conf git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_webkitclient_impl.cc')
-rw-r--r--chrome/renderer/renderer_webkitclient_impl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_webkitclient_impl.cc b/chrome/renderer/renderer_webkitclient_impl.cc
index 6bf926a..9b7327d 100644
--- a/chrome/renderer/renderer_webkitclient_impl.cc
+++ b/chrome/renderer/renderer_webkitclient_impl.cc
@@ -321,6 +321,11 @@ WebString RendererWebKitClientImpl::SandboxSupport::getFontFamilyForCharacters(
return WebString::fromUTF8(family_name);
}
+void RendererWebKitClientImpl::SandboxSupport::getRenderStyleForStrike(
+ const char* family, int sizeAndStyle, WebKit::WebFontRenderStyle* out) {
+ renderer_sandbox_support::getRenderStyleForStrike(family, sizeAndStyle, out);
+}
+
#endif
//------------------------------------------------------------------------------