Modernize to C++11: NULL => nullptr.
No functional change.
This commit is contained in:
parent
9c74ea4bf4
commit
fab02809c6
29 changed files with 82 additions and 82 deletions
|
@ -346,7 +346,7 @@ bool URLPattern::SetPort(const std::string& port) {
|
|||
|
||||
bool URLPattern::MatchesURL(const GURL& test) const {
|
||||
const GURL* test_url = &test;
|
||||
bool has_inner_url = test.inner_url() != NULL;
|
||||
bool has_inner_url = test.inner_url() != nullptr;
|
||||
|
||||
if (has_inner_url) {
|
||||
if (!test.SchemeIsFileSystem())
|
||||
|
@ -370,7 +370,7 @@ bool URLPattern::MatchesURL(const GURL& test) const {
|
|||
|
||||
bool URLPattern::MatchesSecurityOrigin(const GURL& test) const {
|
||||
const GURL* test_url = &test;
|
||||
bool has_inner_url = test.inner_url() != NULL;
|
||||
bool has_inner_url = test.inner_url() != nullptr;
|
||||
|
||||
if (has_inner_url) {
|
||||
if (!test.SchemeIsFileSystem())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue