Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 1707473002: Remove document.defaultCharset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 8fef529d996e416d456b2efc891fcbca9a0a3156..f0b2d6838a886828fc6c5d698457f48c93ac972a 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -1107,13 +1107,6 @@ AtomicString Document::encodingName() const
return AtomicString(encoding().name());
}
-String Document::defaultCharset() const
-{
- if (Settings* settings = this->settings())
- return settings->defaultTextEncodingName();
- return String();
-}
-
void Document::setContentLanguage(const AtomicString& language)
{
if (m_contentLanguage == language)

Powered by Google App Engine
This is Rietveld 408576698