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

Unified Diff: src/views/SkOSMenu.cpp

Issue 544233002: "NULL !=" = NULL (Closed) Base URL: https://skia.googlesource.com/skia.git@are
Patch Set: rebase Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/utils/win/SkWGL_win.cpp ('k') | src/views/SkView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/views/SkOSMenu.cpp
diff --git a/src/views/SkOSMenu.cpp b/src/views/SkOSMenu.cpp
index 3de0a9eb770b9c7685edc9b000744b116a90a750..ad0c73f80dc5fec95daefd1848bec593d1561d4e 100644
--- a/src/views/SkOSMenu.cpp
+++ b/src/views/SkOSMenu.cpp
@@ -32,7 +32,7 @@ const SkOSMenu::Item* SkOSMenu::getItemByID(int itemID) const {
}
void SkOSMenu::getItems(const SkOSMenu::Item* items[]) const {
- if (NULL != items) {
+ if (items) {
for (int i = 0; i < fItems.count(); ++i) {
items[i] = fItems[i];
}
@@ -204,7 +204,7 @@ bool SkOSMenu::FindListItemCount(const SkEvent& evt, int* count) {
}
bool SkOSMenu::FindListItems(const SkEvent& evt, SkString items[]) {
- if (evt.isType(gMenuEventType) && NULL != items) {
+ if (evt.isType(gMenuEventType) && items) {
const char* text = evt.findString(gList_Items_Str);
if (text != NULL) {
SkString temp(text);
« no previous file with comments | « src/utils/win/SkWGL_win.cpp ('k') | src/views/SkView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698