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

Unified Diff: content/browser/renderer_host/text_input_client_mac_unittest.mm

Issue 1619363002: Add compile time checks against longs being used in IPC structs on 32 bit Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more per Dmitry Created 4 years, 11 months 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
Index: content/browser/renderer_host/text_input_client_mac_unittest.mm
diff --git a/content/browser/renderer_host/text_input_client_mac_unittest.mm b/content/browser/renderer_host/text_input_client_mac_unittest.mm
index aa265fca27c8395439c5e784dc36e74fbd17e04e..2fbe3376443a21bb519a29fab99a40cdb9a75974 100644
--- a/content/browser/renderer_host/text_input_client_mac_unittest.mm
+++ b/content/browser/renderer_host/text_input_client_mac_unittest.mm
@@ -148,7 +148,7 @@ TEST_F(TextInputClientMacTest, TimeoutCharacterIndex) {
TEST_F(TextInputClientMacTest, NotFoundCharacterIndex) {
ScopedTestingThread thread(this);
const NSUInteger kPreviousValue = 42;
- const size_t kNotFoundValue = static_cast<size_t>(-1);
+ const uint32_t kNotFoundValue = static_cast<uint32_t>(-1);
// Set an arbitrary value to ensure the index is not |NSNotFound|.
PostTask(FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698