Index: content/child/font_warmup_win.cc |
diff --git a/content/child/font_warmup_win.cc b/content/child/font_warmup_win.cc |
index 2d3f2323d6cf54d0e64dda6b2105384ae0f9a0b4..739246ba781547d702775424b1152ffb3d02768c 100644 |
--- a/content/child/font_warmup_win.cc |
+++ b/content/child/font_warmup_win.cc |
@@ -150,7 +150,8 @@ class FakeGdiObjectFactory { |
base::AutoLock scoped_lock(objects_lock_); |
curr_handle_++; |
// We don't support wrapping the fake handle value. |
- void* handle = reinterpret_cast<void*>(curr_handle_.ValueOrDie()); |
+ void* handle = reinterpret_cast<void*>( |
+ static_cast<uintptr_t>(curr_handle_.ValueOrDie())); |
scoped_refptr<FakeGdiObject> object(new FakeGdiObject(magic, handle)); |
objects_[handle] = object; |
return object; |