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 d6e5d1829d8d4b721fe8baf6ef01225ef17c74a1..746f4f20cad44591f02c4263beaed3a7ff058c9b 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h |
@@ -154,7 +154,7 @@ class CORE_EXPORT LocalFrame final : public Frame, |
// frame's in-process subtree. |
// FIXME: This is a temporary hack to support RemoteFrames, and callers |
// should be updated to avoid storing things on the main frame. |
- LocalFrame* LocalFrameRoot(); |
+ LocalFrame& LocalFrameRoot() const; |
// 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 |