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

Unified Diff: content/browser/renderer_host/render_sandbox_host_linux.cc

Issue 8602002: Move some webkit_glue embedder functions into WebKitPlatformSupport virtual methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix review nits Created 9 years, 1 month 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: content/browser/renderer_host/render_sandbox_host_linux.cc
diff --git a/content/browser/renderer_host/render_sandbox_host_linux.cc b/content/browser/renderer_host/render_sandbox_host_linux.cc
index 50706e90e2d93567b47621024c13d845fee805dd..296b4f092378204e3896cc3358eaa10fd74d77f0 100644
--- a/content/browser/renderer_host/render_sandbox_host_linux.cc
+++ b/content/browser/renderer_host/render_sandbox_host_linux.cc
@@ -26,6 +26,7 @@
#include "base/shared_memory.h"
#include "base/string_number_conversions.h"
#include "base/string_util.h"
+#include "content/common/content_webkitplatformsupport_impl.h"
#include "content/common/font_config_ipc_linux.h"
#include "content/common/sandbox_methods_linux.h"
#include "content/common/unix_domain_socket_posix.h"
@@ -33,7 +34,6 @@
#include "third_party/npapi/bindings/npapi_extensions.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebFontInfo.h"
-#include "webkit/glue/webkitplatformsupport_impl.h"
using WebKit::WebCString;
using WebKit::WebFontInfo;
@@ -649,7 +649,7 @@ class SandboxIPCProcess {
const int browser_socket_;
FontConfigDirect* const font_config_;
std::vector<std::string> sandbox_cmd_;
- scoped_ptr<webkit_glue::WebKitPlatformSupportImpl> webkit_platform_support_;
+ scoped_ptr<content::WebKitPlatformSupportImpl> webkit_platform_support_;
};
SandboxIPCProcess::~SandboxIPCProcess() {
@@ -660,7 +660,7 @@ SandboxIPCProcess::~SandboxIPCProcess() {
void SandboxIPCProcess::EnsureWebKitInitialized() {
if (webkit_platform_support_.get())
return;
- webkit_platform_support_.reset(new webkit_glue::WebKitPlatformSupportImpl);
+ webkit_platform_support_.reset(new content::WebKitPlatformSupportImpl);
WebKit::initialize(webkit_platform_support_.get());
}

Powered by Google App Engine
This is Rietveld 408576698