Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index aec2f6ac9612dc5eb0a2dcbb793d62c909ed005e..80914e739c1b84f2c93075603addbcef9d4bcb64 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; |