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

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

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. Created 4 years, 9 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/WebFrameSerializer.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameSerializer.cpp b/third_party/WebKit/Source/web/WebFrameSerializer.cpp
index 2c8a1e6113ba1a03abfef366985b4ff273a107e7..09fab010910923bea9bed94a704d40d0052a75d2 100644
--- a/third_party/WebKit/Source/web/WebFrameSerializer.cpp
+++ b/third_party/WebKit/Source/web/WebFrameSerializer.cpp
@@ -111,7 +111,7 @@ bool MHTMLFrameSerializerDelegate::rewriteLink(
return false;
KURL cidURI = MHTMLParser::convertContentIDToURI(contentID);
- ASSERT(cidURI.isValid());
+ DCHECK(cidURI.isValid());
if (isHTMLFrameElementBase(&element)) {
rewrittenLink = cidURI.getString();
@@ -154,8 +154,8 @@ WebData WebFrameSerializer::generateMHTMLParts(
const WebString& boundary, WebLocalFrame* webFrame, bool useBinaryEncoding,
MHTMLPartsGenerationDelegate* webDelegate)
{
- ASSERT(webFrame);
- ASSERT(webDelegate);
+ DCHECK(webFrame);
+ DCHECK(webDelegate);
// Translate arguments from public to internal blink APIs.
LocalFrame* frame = toWebLocalFrameImpl(webFrame)->frame();
« no previous file with comments | « third_party/WebKit/Source/web/WebFrame.cpp ('k') | third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698