| 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 f7eb3888e77dfc0e9ef70314e820d1b322edfc59..082b5fb60ad9dd666bcb76cafd8d745207bde138 100644
|
| --- a/third_party/WebKit/Source/web/WebDocument.cpp
|
| +++ b/third_party/WebKit/Source/web/WebDocument.cpp
|
| @@ -212,7 +212,7 @@ WebElement WebDocument::focusedElement() const
|
| void WebDocument::insertStyleSheet(const WebString& sourceCode)
|
| {
|
| RawPtr<Document> document = unwrap<Document>();
|
| - ASSERT(document);
|
| + DCHECK(document);
|
| RawPtr<StyleSheetContents> parsedSheet = StyleSheetContents::create(CSSParserContext(*document, 0));
|
| parsedSheet->parseString(sourceCode);
|
| document->styleEngine().injectAuthorSheet(parsedSheet);
|
|
|