| Index: third_party/WebKit/Source/platform/heap/Visitor.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/Visitor.h b/third_party/WebKit/Source/platform/heap/Visitor.h
|
| index 8ee824395225274998a22aaf1ab4edfc3c0c7647..68a00f409ae26d4bb520ce76b69402bc325f29c0 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Visitor.h
|
| +++ b/third_party/WebKit/Source/platform/heap/Visitor.h
|
| @@ -208,7 +208,7 @@ public:
|
| template<typename T>
|
| void registerWeakCell(T** cell)
|
| {
|
| - Derived::fromHelper(this)->registerWeakCellWithCallback(reinterpret_cast<void**>(cell), &handleWeakCell<T>);
|
| + Derived::fromHelper(this)->registerWeakCellWithCallback(reinterpret_cast<void**>(const_cast<typename std::remove_const<T>::type**>(cell)), &handleWeakCell<T>);
|
| }
|
|
|
| template<typename T, void (T::*method)(Visitor*)>
|
|
|