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

Side by Side Diff: src/xml/SkXMLParser.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « src/xml/SkDOM.cpp ('k') | src/xml/SkXMLPullParser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkXMLParser.h" 10 #include "SkXMLParser.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 void SkXMLParserError::reset() { 45 void SkXMLParserError::reset() {
46 fCode = kNoError; 46 fCode = kNoError;
47 fLineNumber = -1; 47 fLineNumber = -1;
48 fNativeCode = -1; 48 fNativeCode = -1;
49 } 49 }
50 50
51 51
52 //////////////// 52 ////////////////
53 53
54 SkXMLParser::SkXMLParser(SkXMLParserError* parserError) : fParser(NULL), fError( parserError) 54 SkXMLParser::SkXMLParser(SkXMLParserError* parserError) : fParser(nullptr), fErr or(parserError)
55 { 55 {
56 } 56 }
57 57
58 SkXMLParser::~SkXMLParser() 58 SkXMLParser::~SkXMLParser()
59 { 59 {
60 } 60 }
61 61
62 bool SkXMLParser::parse(SkStream& docStream) 62 bool SkXMLParser::parse(SkStream& docStream)
63 { 63 {
64 return false; 64 return false;
(...skipping 28 matching lines...) Expand all
93 { 93 {
94 return this->onText(text, len); 94 return this->onText(text, len);
95 } 95 }
96 96
97 //////////////////////////////////////////////////////////////////////////////// 97 ////////////////////////////////////////////////////////////////////////////////
98 98
99 bool SkXMLParser::onStartElement(const char elem[]) {return false; } 99 bool SkXMLParser::onStartElement(const char elem[]) {return false; }
100 bool SkXMLParser::onAddAttribute(const char name[], const char value[]) {return false; } 100 bool SkXMLParser::onAddAttribute(const char name[], const char value[]) {return false; }
101 bool SkXMLParser::onEndElement(const char elem[]) { return false; } 101 bool SkXMLParser::onEndElement(const char elem[]) { return false; }
102 bool SkXMLParser::onText(const char text[], int len) {return false; } 102 bool SkXMLParser::onText(const char text[], int len) {return false; }
OLDNEW
« no previous file with comments | « src/xml/SkDOM.cpp ('k') | src/xml/SkXMLPullParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698