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

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: copyright year 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..c67bde7a652cbea2eba12204c31670f7397629e2 100644
--- a/content/browser/renderer_host/render_sandbox_host_linux.cc
+++ b/content/browser/renderer_host/render_sandbox_host_linux.cc
@@ -29,11 +29,11 @@
#include "content/common/font_config_ipc_linux.h"
#include "content/common/sandbox_methods_linux.h"
#include "content/common/unix_domain_socket_posix.h"
+#include "content/common/webkitplatformsupport_impl.h"
#include "skia/ext/SkFontHost_fontconfig_direct.h"
#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());
}
« no previous file with comments | « content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h ('k') | content/common/webkitplatformsupport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698