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

Unified Diff: src/v8conversions.h

Issue 75353002: Fix build on arm/x64 after r17840. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8conversions.h
diff --git a/src/v8conversions.h b/src/v8conversions.h
index b449c8884216f0353bca9aaa8ba92aaeae9c2012..68107de97a21a87c5c2d4e490d5b0248dff96f06 100644
--- a/src/v8conversions.h
+++ b/src/v8conversions.h
@@ -84,7 +84,7 @@ inline bool TryNumberToSize(Isolate* isolate,
// Converts a number into size_t.
inline size_t NumberToSize(Isolate* isolate,
Object* number) {
- size_t result;
+ size_t result = 0;
bool is_valid = TryNumberToSize(isolate, number, &result);
CHECK(is_valid);
return result;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698