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

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

Issue 13844022: Remove code to support Objective-C bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index e5fb9d1ba1cad97415af88843fd382318160bd0d..ca68cb32cec12849a9b3e6d577e0c1fad9170ba6 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -1238,13 +1238,6 @@ void Document::setXMLStandalone(bool standalone, ExceptionCode& ec)
m_xmlStandalone = standalone ? Standalone : NotStandalone;
}
-void Document::setDocumentURI(const String& uri)
-{
- // This property is read-only from JavaScript, but writable from Objective-C.
- m_documentURI = uri;
- updateBaseURL();
-}
-
KURL Document::baseURI() const
{
return m_baseURL;
@@ -2451,6 +2444,7 @@ void Document::updateBaseURL()
// The documentURI attribute is read-only from JavaScript, but writable from Objective C, so we need to retain
// this fallback behavior. We use a null base URL, since the documentURI attribute is an arbitrary string
// and DOM 3 Core does not specify how it should be resolved.
+ // FIXME: Now that we don't support Objective-C this can probably be removed.
m_baseURL = KURL(ParsedURLString, documentURI());
}
selectorQueryCache()->invalidate();

Powered by Google App Engine
This is Rietveld 408576698