Index: third_party/WebKit/Source/platform/heap/ThreadState.h |
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h |
index 6b2ade318a577443534125bbb7a83433fbd2f50c..2a83ddc2df0e9622f387e6699722425dd127fab4 100644 |
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h |
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h |
@@ -224,7 +224,7 @@ public: |
bool checkThread() const { return m_thread == currentThread(); } |
#endif |
- ThreadHeap& heap() { return *m_heap; } |
+ ThreadHeap& heap() const { return *m_heap; } |
// When ThreadState is detaching from non-main thread its |
// heap is expected to be empty (because it is going away). |