| Index: content/public/common/content_client.cc
|
| diff --git a/content/public/common/content_client.cc b/content/public/common/content_client.cc
|
| index 94cac28aa5a8d6e7d1f6a2e97b03434c0901a682..e8c3695a8aefa097f1a55697843e45df95a47339 100644
|
| --- a/content/public/common/content_client.cc
|
| +++ b/content/public/common/content_client.cc
|
| @@ -7,9 +7,12 @@
|
| #include "base/logging.h"
|
| #include "base/string_piece.h"
|
| #include "ui/gfx/image/image.h"
|
| -#include "webkit/plugins/ppapi/host_globals.h"
|
| #include "webkit/user_agent/user_agent.h"
|
|
|
| +#if !defined(OS_IOS)
|
| +#include "webkit/plugins/ppapi/host_globals.h"
|
| +#endif
|
| +
|
| namespace content {
|
|
|
| static ContentClient* g_client;
|
| @@ -35,7 +38,11 @@ const std::string& GetUserAgent(const GURL& url) {
|
| }
|
|
|
| webkit::ppapi::HostGlobals* GetHostGlobals() {
|
| +#if defined(OS_IOS)
|
| + return NULL;
|
| +#else
|
| return webkit::ppapi::HostGlobals::Get();
|
| +#endif
|
| }
|
|
|
| ContentClient::ContentClient()
|
|
|