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

Unified Diff: mojo/apps/js/v8_environment.cc

Issue 64623003: Fix win64 build failure on size truncation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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: mojo/apps/js/v8_environment.cc
===================================================================
--- mojo/apps/js/v8_environment.cc (revision 233919)
+++ mojo/apps/js/v8_environment.cc (working copy)
@@ -40,7 +40,7 @@
void InitializeV8() {
v8::V8::SetArrayBufferAllocator(new ArrayBufferAllocator());
v8::V8::InitializeICU();
- v8::V8::SetFlagsFromString(kFlags, strlen(kFlags));
+ v8::V8::SetFlagsFromString(kFlags, static_cast<uint32_t>(strlen(kFlags)));
viettrungluu 2013/11/08 19:02:10 I wonder if this shouldn't be using arraysize() in
jschuh 2013/11/08 19:28:12 It should, but I didn't think I could use base her
v8::V8::SetEntropySource(&GenerateEntropy);
v8::V8::Initialize();
}
« no previous file with comments | « no previous file | mojo/public/bindings/lib/connector.cc » ('j') | mojo/services/native_viewport/native_viewport_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698