Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index dfa59f4f2814ce3975f34f7ea37db485ba2c79ae..5153c822239fe1b642627393c6ef5997823fa7a1 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; |