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

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

Issue 384413003: Document.title getter should return text of title element and setter should stop when head el… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase and take review comment into consideration Created 6 years, 5 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 | « LayoutTests/svg/custom/multiple-title-elements-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index d53d3dbf246d877d9428c833585e3309679ed34b..13308419e2542afbfd73a8cd44d4ee78197e2068 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -719,7 +719,7 @@ public:
void setTitle(const String&);
Element* titleElement() const { return m_titleElement.get(); }
- void setTitleElement(const String& title, Element* titleElement);
+ void setTitleElement(Element*);
void removeTitle(Element* titleElement);
const AtomicString& dir();
@@ -1259,7 +1259,6 @@ private:
String m_title;
String m_rawTitle;
- bool m_titleSetExplicitly;
RefPtrWillBeMember<Element> m_titleElement;
OwnPtr<AXObjectCache> m_axObjectCache;
« no previous file with comments | « LayoutTests/svg/custom/multiple-title-elements-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698