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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 8566026: Implement skia sandbox callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix errors in checkin 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/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index a47ea0cabcb928515ae5a1c599a926e35c2ab0b3..67cb2bc6a2b095e63b86784a30fcdf53c181d8ca 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -52,6 +52,7 @@
#include "content/renderer/render_view_impl.h"
#include "content/renderer/renderer_webidbfactory_impl.h"
#include "content/renderer/renderer_webkitplatformsupport_impl.h"
+#include "content/renderer/skia_sandbox_support_impl.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_platform_file.h"
#include "net/base/net_errors.h"
@@ -524,6 +525,11 @@ void RenderThreadImpl::EnsureWebKitInitialized() {
WebRuntimeFeatures::enableQuota(true);
FOR_EACH_OBSERVER(RenderProcessObserver, observers_, WebKitInitialized());
+
+#if defined(OS_WIN) && defined(USE_SKIA)
+ // Make sure skia has its sandbox support
vandebo (ex-Chrome) 2011/11/18 21:35:18 We should figure out if this is guaranteed to run
arthurhsu 2011/11/22 00:56:23 Updated to do the init once in platform init secti
+ SkiaSandboxSupport::GetInstance();
+#endif
}
void RenderThreadImpl::RecordUserMetrics(const std::string& action) {

Powered by Google App Engine
This is Rietveld 408576698