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

Unified Diff: Source/platform/heap/ThreadState.h

Issue 488923004: Oilpan: fix g++ (4.8) building after r180659. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
« 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: Source/platform/heap/ThreadState.h
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h
index 2255de66f2ca9fdd1679fd14c208ee2eceb58b96..bcec6453bc79f9a6cc1c6531ae46b75bd4bb05a8 100644
--- a/Source/platform/heap/ThreadState.h
+++ b/Source/platform/heap/ThreadState.h
@@ -162,7 +162,7 @@ template<int heapIndex>
struct HeapIndexTraitBase {
typedef ThreadHeap<FinalizedHeapObjectHeader> HeapType;
static const int finalizedIndex = heapIndex;
- static const int nonFinalizedIndex = heapIndex + NonFinalizedHeapOffset;
+ static const int nonFinalizedIndex = heapIndex + static_cast<int>(NonFinalizedHeapOffset);
static int index(bool isFinalized)
{
return isFinalized ? finalizedIndex : nonFinalizedIndex;
« 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