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

Unified Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed html import issue. Created 4 years 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/html/HTMLLinkElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
index 06a8129631ec454bb9090660d522cbdf78bc5917..2e827f63b896bfa6afc499687ad5e04b9f3bf32d 100644
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
@@ -99,7 +99,7 @@ void HTMLLinkElement::parseAttribute(const QualifiedName& name,
} else {
if (name == titleAttr) {
if (LinkStyle* link = linkStyle())
- link->setSheetTitle(value, StyleEngine::UpdateActiveSheets);
+ link->setSheetTitle(value);
}
HTMLElement::parseAttribute(name, oldValue, value);
@@ -217,14 +217,8 @@ void HTMLLinkElement::removedFrom(ContainerNode* insertionPoint) {
return;
}
document().styleEngine().removeStyleSheetCandidateNode(*this);
-
- StyleSheet* removedSheet = sheet();
-
if (m_link)
m_link->ownerRemoved();
-
- document().styleEngine().setNeedsActiveStyleUpdate(removedSheet,
- FullStyleUpdate);
}
void HTMLLinkElement::finishParsingChildren() {
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/html/HTMLStyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698