Deduplicate Document::encoding().
[WebKit-https.git] / Source / WebCore / dom / Document.cpp
index 7d70dcc3ee8ed7a0627d4e389bf014d92120aa74..d8f3cac689baed2e95820af971931f0468fffcef 100644 (file)
@@ -1270,7 +1270,7 @@ void Document::setVisualUpdatesAllowedByClient(bool visualUpdatesAllowedByClient
         setVisualUpdatesAllowed(true);
 }
 
-String Document::encoding() const
+AtomicString Document::encoding() const
 {
     if (TextResourceDecoder* d = decoder())
         return d->encoding().domName();