diff options
Diffstat (limited to 'content/common/sandbox_mac.mm')
-rw-r--r-- | content/common/sandbox_mac.mm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm index 90b7fe9..679fddf 100644 --- a/content/common/sandbox_mac.mm +++ b/content/common/sandbox_mac.mm @@ -31,7 +31,6 @@ extern "C" { #include "content/public/common/content_client.h" #include "content/public/common/content_switches.h" #include "grit/content_resources.h" -#include "ui/base/layout.h" #include "ui/gl/gl_surface.h" #include "unicode/uchar.h" @@ -364,8 +363,7 @@ NSString* LoadSandboxTemplate(int sandbox_type) { } base::StringPiece sandbox_definition = - content::GetContentClient()->GetDataResource( - sandbox_profile_resource_id, ui::SCALE_FACTOR_NONE); + content::GetContentClient()->GetDataResource(sandbox_profile_resource_id); if (sandbox_definition.empty()) { LOG(FATAL) << "Failed to load the sandbox profile (resource id " << sandbox_profile_resource_id << ")"; @@ -373,8 +371,7 @@ NSString* LoadSandboxTemplate(int sandbox_type) { } base::StringPiece common_sandbox_definition = - content::GetContentClient()->GetDataResource( - IDR_COMMON_SANDBOX_PROFILE, ui::SCALE_FACTOR_NONE); + content::GetContentClient()->GetDataResource(IDR_COMMON_SANDBOX_PROFILE); if (common_sandbox_definition.empty()) { LOG(FATAL) << "Failed to load the common sandbox profile"; return nil; |