Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2133)

Unified Diff: content/child/npapi/webplugin_ime_win.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/npapi/webplugin_ime_win.h ('k') | content/child/npapi/webplugin_resource_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « content/child/npapi/webplugin_ime_win.h ('k') | content/child/npapi/webplugin_resource_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698