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

Unified Diff: third_party/WebKit/Source/web/WebDocument.cpp

Issue 2101143005: 0 -> nullptr for UseCounter pointer in CSSParserContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Typo Created 4 years, 6 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/web/WebDocument.cpp
diff --git a/third_party/WebKit/Source/web/WebDocument.cpp b/third_party/WebKit/Source/web/WebDocument.cpp
index cd67191bd9dfd830dfd5e58e3182863e64b8a702..da41a82e08a61eacfd5747af4657fa7f3a8c914e 100644
--- a/third_party/WebKit/Source/web/WebDocument.cpp
+++ b/third_party/WebKit/Source/web/WebDocument.cpp
@@ -213,7 +213,7 @@ void WebDocument::insertStyleSheet(const WebString& sourceCode)
{
Document* document = unwrap<Document>();
DCHECK(document);
- StyleSheetContents* parsedSheet = StyleSheetContents::create(CSSParserContext(*document, 0));
+ StyleSheetContents* parsedSheet = StyleSheetContents::create(CSSParserContext(*document, nullptr));
parsedSheet->parseString(sourceCode);
document->styleEngine().injectAuthorSheet(parsedSheet);
}

Powered by Google App Engine
This is Rietveld 408576698