Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5639)

Unified Diff: chrome/renderer/chrome_ppb_pdf_impl.cc

Issue 8113027: Export some unix-specific content symbols (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more exports Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/chrome_ppb_pdf_impl.cc
diff --git a/chrome/renderer/chrome_ppb_pdf_impl.cc b/chrome/renderer/chrome_ppb_pdf_impl.cc
index 842878ee9ae6b2eead1a24a6c21eba18dc9bf27d..c28603b0c52882070720831aedb69b359885ee40 100644
--- a/chrome/renderer/chrome_ppb_pdf_impl.cc
+++ b/chrome/renderer/chrome_ppb_pdf_impl.cc
@@ -8,6 +8,7 @@
#include "base/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/common/render_messages.h"
+#include "content/common/child_process_sandbox_support_linux.h"
#include "content/renderer/pepper_plugin_delegate_impl.h"
#include "content/renderer/render_thread.h"
#include "grit/webkit_resources.h"
@@ -23,7 +24,6 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "unicode/usearch.h"
-#include "webkit/glue/webkit_glue.h"
#include "webkit/plugins/ppapi/plugin_delegate.h"
#include "webkit/plugins/ppapi/plugin_module.h"
#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
@@ -44,7 +44,7 @@ class PrivateFontFile : public ppapi::Resource {
void* output,
uint32_t* output_length) {
size_t temp_size = static_cast<size_t>(*output_length);
- bool rv = webkit_glue::GetFontTable(
+ bool rv = child_process_sandbox_support::GetFontTable(
fd_, table, static_cast<uint8_t*>(output), &temp_size);
*output_length = static_cast<uint32_t>(temp_size);
return rv;
@@ -187,7 +187,7 @@ PP_Resource GetFontFileWithFallback(
if (!face_name)
return 0;
- int fd = webkit_glue::MatchFontWithFallback(
+ int fd = child_process_sandbox_support::MatchFontWithFallback(
face_name->value().c_str(),
description->weight >= PP_FONTWEIGHT_BOLD,
description->italic,
« no previous file with comments | « no previous file | content/browser/cancelable_request.h » ('j') | content/browser/renderer_host/gtk_key_bindings_handler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698