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

Unified Diff: chrome/browser/printing/print_preview_context_menu_observer.cc

Issue 1232783007: Cleanup: Fix some misc nits in printing code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | chrome/browser/printing/print_preview_data_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_preview_context_menu_observer.cc
diff --git a/chrome/browser/printing/print_preview_context_menu_observer.cc b/chrome/browser/printing/print_preview_context_menu_observer.cc
index b9c2a02f160c0dcc8780482839e2f8e6fe19bc45..eca5d02fb453f6865c0c6fe535939858e54e3681 100644
--- a/chrome/browser/printing/print_preview_context_menu_observer.cc
+++ b/chrome/browser/printing/print_preview_context_menu_observer.cc
@@ -20,7 +20,7 @@ bool PrintPreviewContextMenuObserver::IsPrintPreviewDialog() {
printing::PrintPreviewDialogController::GetInstance();
if (!controller)
return false;
- return (controller->GetPrintPreviewForContents(contents_) != NULL);
+ return (controller->GetPrintPreviewForContents(contents_) != nullptr);
}
bool PrintPreviewContextMenuObserver::IsCommandIdSupported(int command_id) {
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_data_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698