| Index: content/child/npapi/webplugin_ime_win.cc
|
| diff --git a/content/child/npapi/webplugin_ime_win.cc b/content/child/npapi/webplugin_ime_win.cc
|
| index e095ee1f780653bc820ab6a284e5fcbf28a7a07a..94d1a921cddb1a425fa39e8625b8a2f17122f191 100644
|
| --- a/content/child/npapi/webplugin_ime_win.cc
|
| +++ b/content/child/npapi/webplugin_ime_win.cc
|
| @@ -4,12 +4,16 @@
|
|
|
| #include "content/child/npapi/webplugin_ime_win.h"
|
|
|
| +#include <stddef.h>
|
| +#include <string.h>
|
| +
|
| #include <cstring>
|
| #include <string>
|
| #include <vector>
|
|
|
| #include "base/lazy_instance.h"
|
| #include "base/logging.h"
|
| +#include "base/macros.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/synchronization/lock.h"
|
| #include "content/child/npapi/plugin_instance.h"
|
| @@ -230,7 +234,7 @@ LONG WINAPI WebPluginIMEWin::ImmGetCompositionStringW(HIMC context,
|
|
|
| case GCS_COMPCLAUSE:
|
| src_data = &instance->composition_clauses_[0];
|
| - src_size = instance->composition_clauses_.size() * sizeof(uint32);
|
| + src_size = instance->composition_clauses_.size() * sizeof(uint32_t);
|
| break;
|
|
|
| case GCS_CURSORPOS:
|
|
|