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

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

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More assert fixes Created 4 years, 7 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/html/HTMLStyleElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLStyleElement.cpp b/third_party/WebKit/Source/core/html/HTMLStyleElement.cpp
index 95873c0190811a3b0bf2847858f7c2d6341bd884..37de1c3d93c0209e929c72c86f705672377b128d 100644
--- a/third_party/WebKit/Source/core/html/HTMLStyleElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLStyleElement.cpp
@@ -64,7 +64,7 @@ void HTMLStyleElement::parseAttribute(const QualifiedName& name, const AtomicStr
m_sheet->setTitle(value);
} else if (name == mediaAttr && inShadowIncludingDocument() && document().isActive() && m_sheet) {
m_sheet->setMediaQueries(MediaQuerySet::create(value));
- document().styleEngine().setNeedsActiveStyleUpdate(m_sheet.get(), FullStyleUpdate);
+ document().styleEngine().setNeedsActiveStyleUpdate(treeScope());
} else {
HTMLElement::parseAttribute(name, oldValue, value);
}

Powered by Google App Engine
This is Rietveld 408576698