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

Unified Diff: Source/core/testing/Internals.cpp

Issue 23516012: Rename StyleSheetCollections to StyleEngine. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/rendering/RootInlineBox.cpp ('k') | Source/web/WebDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 388eb19f856cb48a05ba35a1600a0d121e967f1e..d04fad5924a5e5848a00f606bc6849ef99d5dcc5 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -1925,7 +1925,7 @@ void Internals::insertAuthorCSS(Document* document, const String& css) const
RefPtr<StyleSheetContents> parsedSheet = StyleSheetContents::create(*document);
parsedSheet->setIsUserStyleSheet(false);
parsedSheet->parseString(css);
- document->styleSheetCollections()->addAuthorSheet(parsedSheet);
+ document->styleEngine()->addAuthorSheet(parsedSheet);
}
void Internals::insertUserCSS(Document* document, const String& css) const
@@ -1936,7 +1936,7 @@ void Internals::insertUserCSS(Document* document, const String& css) const
RefPtr<StyleSheetContents> parsedSheet = StyleSheetContents::create(*document);
parsedSheet->setIsUserStyleSheet(true);
parsedSheet->parseString(css);
- document->styleSheetCollections()->addUserSheet(parsedSheet);
+ document->styleEngine()->addUserSheet(parsedSheet);
}
String Internals::counterValue(Element* element)
« no previous file with comments | « Source/core/rendering/RootInlineBox.cpp ('k') | Source/web/WebDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698