| Index: Source/web/mac/WebSubstringUtil.mm
|
| diff --git a/Source/web/mac/WebSubstringUtil.mm b/Source/web/mac/WebSubstringUtil.mm
|
| index fc472b9e99d02e02ad07d00f17c71c0b34b55ac3..2f5aa44daae5de4e0ea57060f6171fe0216a6d22 100644
|
| --- a/Source/web/mac/WebSubstringUtil.mm
|
| +++ b/Source/web/mac/WebSubstringUtil.mm
|
| @@ -57,7 +57,7 @@ namespace WebKit {
|
|
|
| NSAttributedString* WebSubstringUtil::attributedSubstringInRange(WebFrame* webFrame, size_t location, size_t length)
|
| {
|
| - Frame* frame = static_cast<WebFrameImpl*>(webFrame)->frame();
|
| + Frame* frame = toWebFrameImpl(webFrame)->frame();
|
| if (frame->view()->needsLayout())
|
| frame->view()->layout();
|
|
|
|
|