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

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

Issue 28553005: Avoid parsing css text if there are identical inline style blocks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 1 month 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/ProcessingInstruction.cpp
diff --git a/Source/core/dom/ProcessingInstruction.cpp b/Source/core/dom/ProcessingInstruction.cpp
index 2cc83867e3e370f4858c20df5c19005d316a3537..110a694fa488283e52a3741c4e368e72376a40c1 100644
--- a/Source/core/dom/ProcessingInstruction.cpp
+++ b/Source/core/dom/ProcessingInstruction.cpp
@@ -221,7 +221,7 @@ void ProcessingInstruction::parseStyleSheet(const String& sheet)
m_loading = false;
if (m_isCSS)
- toCSSStyleSheet(m_sheet.get())->contents()->checkLoaded();
+ toCSSStyleSheet(m_sheet.get())->contents()->checkLoadedFor(m_sheet->ownerNode());
else if (m_isXSL)
toXSLStyleSheet(m_sheet.get())->checkLoaded();
}

Powered by Google App Engine
This is Rietveld 408576698