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

Unified Diff: Source/core/xml/XSLStyleSheetLibxslt.cpp

Issue 1161323007: Use nullptr instead of 0 in xml and xmlhttprequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated as per review comment & modified in other files which assigned "0" to ptr. Created 5 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
« no previous file with comments | « Source/core/xml/XSLImportRule.cpp ('k') | Source/core/xml/XSLTProcessorLibxslt.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XSLStyleSheetLibxslt.cpp
diff --git a/Source/core/xml/XSLStyleSheetLibxslt.cpp b/Source/core/xml/XSLStyleSheetLibxslt.cpp
index 75c6483404ee9c2547d3eaea5efc739cc277522f..d3fd0b2ab6acefb997c9bee4aee563277cbaf778 100644
--- a/Source/core/xml/XSLStyleSheetLibxslt.cpp
+++ b/Source/core/xml/XSLStyleSheetLibxslt.cpp
@@ -139,7 +139,7 @@ bool XSLStyleSheet::parseString(const String& source)
xmlFreeDoc(m_stylesheetDoc);
m_stylesheetDocTaken = false;
- FrameConsole* console = 0;
+ FrameConsole* console = nullptr;
if (LocalFrame* frame = ownerDocument()->frame())
console = &frame->console();
@@ -269,7 +269,7 @@ Document* XSLStyleSheet::ownerDocument()
if (node)
return &node->document();
}
- return 0;
+ return nullptr;
}
xmlDocPtr XSLStyleSheet::locateStylesheetSubResource(xmlDocPtr parentDoc, const xmlChar* uri)
« no previous file with comments | « Source/core/xml/XSLImportRule.cpp ('k') | Source/core/xml/XSLTProcessorLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698