Index: third_party/WebKit/Source/web/WebDocument.cpp |
diff --git a/third_party/WebKit/Source/web/WebDocument.cpp b/third_party/WebKit/Source/web/WebDocument.cpp |
index 450ccaa6b89493a6ccc054a18c585126b8ff71d0..f3b4146c71952519d0bb903613af4ad49874db48 100644 |
--- a/third_party/WebKit/Source/web/WebDocument.cpp |
+++ b/third_party/WebKit/Source/web/WebDocument.cpp |
@@ -216,7 +216,7 @@ void WebDocument::insertStyleSheet(const WebString& sourceCode) |
ASSERT(document); |
RefPtrWillBeRawPtr<StyleSheetContents> parsedSheet = StyleSheetContents::create(CSSParserContext(*document, 0)); |
parsedSheet->parseString(sourceCode); |
- document->styleEngine().addAuthorSheet(parsedSheet); |
+ document->styleEngine().injectAuthorSheet(parsedSheet); |
} |
void WebDocument::watchCSSSelectors(const WebVector<WebString>& webSelectors) |