summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkjyoun@google.com <kjyoun@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-03 02:17:13 +0000
committerkjyoun@google.com <kjyoun@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-03 02:17:13 +0000
commit14689246fd04d424204bc1ced1cf20a3bd569427 (patch)
tree383d139403ecef828741c5bb9ca2bf396da06d73
parentd0a89a3b5789e4913dacce736e30c92391f23503 (diff)
downloadchromium_src-14689246fd04d424204bc1ced1cf20a3bd569427.zip
chromium_src-14689246fd04d424204bc1ced1cf20a3bd569427.tar.gz
chromium_src-14689246fd04d424204bc1ced1cf20a3bd569427.tar.bz2
Fix build breakage on chrome-for-tv
Fixed a typo in an argument list. BUG= Review URL: https://chromiumcodereview.appspot.com/21700002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215460 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc33
1 files changed, 6 insertions, 27 deletions
diff --git a/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc b/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc
index fe3b563..1a72ded 100644
--- a/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc
+++ b/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc
@@ -19,14 +19,13 @@
#include "third_party/WebKit/public/platform/win/WebSandboxSupport.h"
#elif defined(OS_MACOSX)
#include "third_party/WebKit/public/platform/mac/WebSandboxSupport.h"
+#elif defined(OS_ANDROID)
+#include "third_party/WebKit/public/platform/android/WebSandboxSupport.h"
#elif defined(OS_POSIX)
-#if !defined(OS_ANDROID)
#include "content/common/child_process_sandbox_support_impl_linux.h"
-#include "third_party/icu/source/common/unicode/utf16.h"
-#endif
#include "third_party/WebKit/public/platform/linux/WebFontFamily.h"
#include "third_party/WebKit/public/platform/linux/WebSandboxSupport.h"
-
+#include "third_party/icu/source/common/unicode/utf16.h"
#endif
using WebKit::WebSandboxSupport;
@@ -48,6 +47,8 @@ class PpapiWebKitPlatformSupportImpl::SandboxSupport
#elif defined(OS_MACOSX)
virtual bool loadFont(
NSFont* srcFont, CGFontRef* out, uint32_t* fontID);
+#elif defined(OS_ANDROID)
+ // Empty class.
#elif defined(OS_POSIX)
virtual void getFontFamilyForCharacters(
const WebKit::WebUChar* characters,
@@ -98,29 +99,7 @@ bool PpapiWebKitPlatformSupportImpl::SandboxSupport::loadFont(
#elif defined(OS_ANDROID)
-// TODO(jrg): resolve (and implement?) PPAPI SandboxSupport for Android.
-
-void
-PpapiWebKitPlatformSupportImpl::SandboxSupport::getFontFamilyForCharacters(
- const WebUChar* characters,
- size_t num_characters,
- const char* preferred_locale,
- WebKit::WebFontFamily* family) {
- NOTIMPLEMENTED();
-}
-
-void
-PpapiWebKitPlatformSupportImpl::SandboxSupport::getFontFamilyForCharacter(
- WebUChar32* character,
- const char* preferred_locale,
- WebKit::WebFontFamily* family) {
- NOTIMPLEMENTED();
-}
-
-void PpapiWebKitPlatformSupportImpl::SandboxSupport::getRenderStyleForStrike(
- const char* family, int sizeAndStyle, WebKit::WebFontRenderStyle* out) {
- NOTIMPLEMENTED();
-}
+// Empty class.
#elif defined(OS_POSIX)