| 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 e1a0c2397a7da8759fc28f843d8cd20fb4c1fd1e..002fe375955de49101b6e390a866516f04a1ab4d 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)
|
| {
|
| RefPtrWillBeRawPtr<Document> document = unwrap<Document>();
|
| - ASSERT(document);
|
| + DCHECK(document);
|
| RefPtrWillBeRawPtr<StyleSheetContents> parsedSheet = StyleSheetContents::create(CSSParserContext(*document, 0));
|
| parsedSheet->parseString(sourceCode);
|
| document->styleEngine().injectAuthorSheet(parsedSheet);
|
|
|