Index: Source/core/inspector/InspectorDOMAgent.cpp |
diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp |
index 00ea53088d704d089c8cdd91d8e7695926d7ccf0..10a91824779485dac41d5e712a3320748cbf2e45 100644 |
--- a/Source/core/inspector/InspectorDOMAgent.cpp |
+++ b/Source/core/inspector/InspectorDOMAgent.cpp |
@@ -670,7 +670,7 @@ void InspectorDOMAgent::setAttributesAsText(ErrorString* errorString, int elemen |
return; |
String markup = "<span " + text + "></span>"; |
- RefPtr<DocumentFragment> fragment = element->document().createDocumentFragment(); |
+ RefPtrWillBeRawPtr<DocumentFragment> fragment = element->document().createDocumentFragment(); |
bool shouldIgnoreCase = element->document().isHTMLDocument() && element->isHTMLElement(); |
// Not all elements can represent the context (i.e. IFRAME), hence using document.body. |