| Index: third_party/WebKit/Source/core/frame/LocalFrame.h
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
|
| index f6018a4f738d97af9208fa122e57dee1e6008822..b5ea07bd7585129d82cd1dbdd4f0aaf0f657de71 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.h
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
|
| @@ -152,6 +152,9 @@ class CORE_EXPORT LocalFrame final : public Frame,
|
| // FIXME: This is a temporary hack to support RemoteFrames, and callers
|
| // should be updated to avoid storing things on the main frame.
|
| LocalFrame* localFrameRoot();
|
| + const LocalFrame* localFrameRoot() const {
|
| + return const_cast<LocalFrame*>(this)->localFrameRoot();
|
| + }
|
|
|
| // Note that the result of this function should not be cached: a frame is
|
| // not necessarily detached when it is navigated, so the return value can
|
|
|