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

Unified Diff: Source/core/html/HTMLDocument.cpp

Issue 235933008: Move 'dir' attribute from HTMLDocument to Document. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move methods to a better location in Document.cpp Created 6 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
« no previous file with comments | « Source/core/html/HTMLDocument.h ('k') | Source/core/html/HTMLDocument.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLDocument.cpp
diff --git a/Source/core/html/HTMLDocument.cpp b/Source/core/html/HTMLDocument.cpp
index 61e37d55acfae06a3647cec27682d304aaf9686d..95fa689165c2e06c66e53588b483a558f8030d80 100644
--- a/Source/core/html/HTMLDocument.cpp
+++ b/Source/core/html/HTMLDocument.cpp
@@ -79,21 +79,6 @@ HTMLDocument::~HTMLDocument()
{
}
-const AtomicString& HTMLDocument::dir()
-{
- HTMLElement* b = body();
- if (!b)
- return nullAtom;
- return b->getAttribute(dirAttr);
-}
-
-void HTMLDocument::setDir(const AtomicString& value)
-{
- HTMLElement* b = body();
- if (b)
- b->setAttribute(dirAttr, value);
-}
-
String HTMLDocument::designMode() const
{
return inDesignMode() ? "on" : "off";
« no previous file with comments | « Source/core/html/HTMLDocument.h ('k') | Source/core/html/HTMLDocument.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698