summaryrefslogtreecommitdiffstats
path: root/content/renderer/npapi
diff options
context:
space:
mode:
authorjam <jam@chromium.org>2015-02-03 10:16:08 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-03 18:16:56 +0000
commit8a021512a24f87d3b1723f260e0380b874f3b9eb (patch)
treefe0fd8bea7c18d5b6d6f28338d150db187512866 /content/renderer/npapi
parent4adea21c6771ac1aaa6260524c3c283e85415672 (diff)
downloadchromium_src-8a021512a24f87d3b1723f260e0380b874f3b9eb.zip
chromium_src-8a021512a24f87d3b1723f260e0380b874f3b9eb.tar.gz
chromium_src-8a021512a24f87d3b1723f260e0380b874f3b9eb.tar.bz2
Unify the three places that patch font loading for PDFium on Windows.
This also removed the code from content, which doesn't belong there because it's for a feature in Chrome. In order to implement this in a unified way, I needed to create a public interface around ChildThread. A lot of the change is updating callers of ChildThread to use ChildThreadImpl instead. BUG=448473 Review URL: https://codereview.chromium.org/897563002 Cr-Commit-Position: refs/heads/master@{#314367}
Diffstat (limited to 'content/renderer/npapi')
-rw-r--r--content/renderer/npapi/webplugin_delegate_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/npapi/webplugin_delegate_proxy.cc b/content/renderer/npapi/webplugin_delegate_proxy.cc
index 32cac5d..66bc362 100644
--- a/content/renderer/npapi/webplugin_delegate_proxy.cc
+++ b/content/renderer/npapi/webplugin_delegate_proxy.cc
@@ -640,7 +640,7 @@ bool WebPluginDelegateProxy::CreateLocalBitmap(
bool WebPluginDelegateProxy::CreateSharedBitmap(
scoped_ptr<SharedMemoryBitmap>* memory,
scoped_ptr<skia::PlatformCanvas>* canvas) {
- *memory = ChildThread::current()
+ *memory = ChildThreadImpl::current()
->shared_bitmap_manager()
->AllocateSharedMemoryBitmap(plugin_rect_.size());
if (!memory->get())