diff options
-rw-r--r-- | webkit/glue/plugins/pepper_private.cc | 2 | ||||
-rw-r--r-- | webkit/glue/plugins/ppb_private.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/plugins/pepper_private.cc b/webkit/glue/plugins/pepper_private.cc index 579d1f4..8d5182f 100644 --- a/webkit/glue/plugins/pepper_private.cc +++ b/webkit/glue/plugins/pepper_private.cc @@ -18,7 +18,7 @@ namespace { PP_Var GetLocalizedString(PP_ResourceString string_id) { std::string rv; - if (string_id == PPB_RESOURCE_STRING_PDF_GET_PASSWORD) + if (string_id == PP_RESOURCESTRING_PDFGETPASSWORD) rv = UTF16ToUTF8(webkit_glue::GetLocalizedString(IDS_PDF_NEED_PASSWORD)); return StringToPPVar(rv); diff --git a/webkit/glue/plugins/ppb_private.h b/webkit/glue/plugins/ppb_private.h index a000743..a0956f0 100644 --- a/webkit/glue/plugins/ppb_private.h +++ b/webkit/glue/plugins/ppb_private.h @@ -9,8 +9,8 @@ #define PPB_PRIVATE_INTERFACE "PPB_Private;1" -typedef enum _ppb_ResourceString { - PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0, +typedef enum _pp_ResourceString { + PP_RESOURCESTRING_PDFGETPASSWORD = 0, } PP_ResourceString; typedef struct _ppb_Private { |