| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 798a32658e8153e173740ecb7ec9469e3461a133..13d8e0b15d4aa7c734ac396e0a4bffca93b41cc0 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -2056,7 +2056,7 @@ void Element::updateFocusAppearance(bool /*restorePreviousSelection*/)
|
| {
|
| if (isRootEditableElement()) {
|
| // Taking the ownership since setSelection() may release the last reference to |frame|.
|
| - RefPtr<LocalFrame> frame(document().frame());
|
| + RefPtrWillBeRawPtr<LocalFrame> frame(document().frame());
|
| if (!frame)
|
| return;
|
|
|
|
|